pyart.graph.RadarMapDisplayBasemap.plot_colorbar

RadarMapDisplayBasemap.plot_colorbar(mappable=None, field=None, label=None, orient='vertical', cax=None, ax=None, fig=None, ticks=None, ticklabs=None, **kwargs)

Plot a colorbar.

Parameters
  • mappable (Image, ContourSet, etc.) – Image, ContourSet, etc to which the colorbar applied. If None the last mappable object will be used.

  • field (str) – Field to label colorbar with.

  • label (str) – Colorbar label. None will use a default value from the last field plotted.

  • orient (str) – Colorbar orientation, either ‘vertical’ [default] or ‘horizontal’.

  • cax (Axis) – Axis onto which the colorbar will be drawn. None is also valid.

  • ax (Axes) – Axis onto which the colorbar will be drawn. None is also valid.

  • fig (Figure) – Figure to place colorbar on. None will use the current figure.

  • ticks (array) – Colorbar custom tick label locations.

  • ticklabs (array) – Colorbar custom tick labels.