ILAMB.Post.ColorBar¶
- ILAMB.Post.ColorBar(ax, **keywords)[source]¶
Plot a colorbar.
We plot colorbars separately so they can be rendered once and used for multiple plots.
- Parameters
ax (matplotlib.axes._subplots.AxesSubplot) – the matplotlib axes object onto which you wish to plot the variable
vmin (float, optional) – the minimum plotted value
vmax (float, optional) – the maximum plotted value
cmap (str, optional) – the name of the colormap to be used in plotting the spatial variable
label (str, optional) – the text which appears with the colorbar