act.plotting.ContourDisplay.plot_station

ContourDisplay.plot_station(fields, time=None, subplot_index=(0,), text_color='white', **kwargs)[source]

Extracts, grids, and creates a contour plot. If subplots have not been added yet, an axis will be created assuming that there is only going to be one plot.

Parameters:
  • fields (dict) – Dictionary of fields to use for x, y, and z data.

  • time (datetime) – Time in which to slice through datasets.

  • subplot_index (1 or 2D tuple, list, or array) – The index of the subplot to set the x range of.

  • text_color (string) – Color for text.

  • **kwargs (keyword arguments) – The keyword arguments for plt.plot()

Returns:

ax (matplotlib axis handle) – The matplotlib axis handle of the plot.