ChenPoJu / clim680_project

https://chenpoju.github.io/clim680_project/
0 stars 0 forks source link

Assignment 1 issue #1

Open ChenPoJu opened 11 months ago

ChenPoJu commented 11 months ago

The packages of python are so convenient. Xarray can show me the information of the dataset and Matplotlib can show me the 2D distribution of the variables in just few lines of code. About the map plot of 1b, I am trying to move the colorbar's title to its right side. I think the map in Robinson project is clear, but I still try to add the label of longitude to the bottom of the map.

Prukutu commented 11 months ago

You can move the colorbar by specifying the orientation keyword argument to "vertical". Alternatively, you can add a new "axes" object (fig.add_axes, https://matplotlib.org/stable/api/figure_api.html) and add your colorbar to it using the "cax" keyword argument.