Commit 44cce762 authored by Le Roux Erwan's avatar Le Roux Erwan
Browse files

update examples

parent 2f54024a
No related merge requests found
Showing with 1 addition and 5 deletions
+1 -5
......@@ -14,13 +14,9 @@ values = list(massif_name_to_value.values())
massif_to_text = {
m: str(round(v, 1)) + '$^o$C' for m, v in massif_name_to_value.items()
}
print(massif_to_text)
visualizer.visualize_study(massif_name_to_value=massif_name_to_value, cmap=plt.cm.Reds,
massif_name_to_text=massif_to_text, add_text=True,
vmin=min(values), vmax=max(values),
add_colorbar=True, label='Annual maximum of temperature\nat {} m'
' between the 1st August 2019\n and'
' the 31st of July 2020 ($^o$C)'.format(altitude))
if __name__ == '__main__':
co
\ No newline at end of file
' the 31st of July 2020 ($^o$C)'.format(altitude))
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment