rcatool.plot.plots.image_colorbar

rcatool.plot.plots.image_colorbar(cs, cbaxs, title=None, labelspacing=1, labelsize='x-large', formatter='{:.2f}', **cbar_kwargs)[source]

Add colobar to map plot

Parameters:
  • cs (Plot object) – Such as an image (imshow) or a contour set (with contourf)

  • cbaxs (cbar axis object/list) – Colorbar axis object or list with axes objects for each plot in figure

  • title (list) – list of strings with colorbar titles

  • labelspacing (int) – Label spacing; the integer value represents the number of steps between each label. 1 show each label (default), 2 every second, etc.

  • labelsize (str/int) – Size of labels; integer value or a string (e.g. ‘large’)

  • **cbar_kwargs (keyword arguments) – arguments (key=value) that can be used in pyplot.colobar See http://matplotlib.org/api/pyplot_api.html#matplotlib.pyplot.colorbar