athena.plotting.utils module¶
Reference¶
-
make_cbar
(ax, title, norm, cmap, cmap_labels, im=None, prefix_labels=True)[source]¶ Generate a colorbar for the given axes.
- Parameters
ax (Axes) – axes for which to plot colorbar
title (str) – title of colorbar
norm – Normalisation instance
cmap (Colormap) – Colormap
cmap_labels (dict) – colorbar labels