pyart.graph.gridmapdisplay.GridMapDisplay.plot_colorbar

GridMapDisplay.plot_colorbar(mappable=None, orientation='horizontal', label=None, cax=None)[source]

Plot a colorbar to an axis.

Parameters :

mappable : ContourSet, etc.

Matplotlib object to create colorbar for. None will use the last mappable plotted.

orientation : ‘vertical’ or ‘horizontal’

Colorbar orientation.

label : str

Colorbar label. None will use: ‘long_name’ (‘units’) for the last field plotted or ‘’ if the field does not have these keys.

cax : axis

Axes object into which the colorbar will be drawn. None will use the current axis.

Previous topic

pyart.graph.gridmapdisplay.GridMapDisplay.plot_basemap

Next topic

pyart.graph.gridmapdisplay.GridMapDisplay.plot_crosshairs

This Page