Skip to content

Commit

Permalink
fix colorbar
Browse files Browse the repository at this point in the history
  • Loading branch information
malmans2 committed Jul 21, 2023
1 parent d14eb19 commit 1d6e6bd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion notebooks/wp4/clima_and_bias_cordex_cmip6_regionalised.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"assert variable in (\"precipitation\", \"temperature\")\n",
"\n",
"# Choose CORDEX or CMIP6\n",
"collection_id = \"CORDEX\"\n",
"collection_id = \"CMIP6\"\n",
"assert collection_id in (\"CORDEX\", \"CMIP6\")\n",
"\n",
"# Define region for analysis\n",
Expand Down Expand Up @@ -467,6 +467,8 @@
" robust=True,\n",
" levels=11,\n",
" cmap=\"bwr_r\" if variable == \"precipitation\" else \"bwr\",\n",
" center=0,\n",
" extend=\"both\",\n",
")\n",
"plot_kwargs[\"projection\"] = projection\n",
"plot.projected_map(\n",
Expand Down

0 comments on commit 1d6e6bd

Please sign in to comment.