act.plotting.XSectionDisplay.plot_xsection_map¶
- XSectionDisplay.plot_xsection_map(dsname, varname, subplot_index=(0,), coastlines=True, background=False, **kwargs)[source]¶
Plots a cross section of 2D data on a geographical map.
- Parameters:
dsname (str or None) – The name of the datastream to plot from. Set to None to have ACT attempt to automatically detect this.
varname (str) – The name of the variable to plot.
subplot_index (tuple) – The index of the subplot to plot inside.
coastlines (bool) – Set to True to plot the coastlines.
background (bool) – Set to True to plot a stock image background.
**kwargs (keyword arguments) – Additional keyword arguments will be passed into
act.plotting.XSectionDisplay.plot_xsection()
- Returns:
ax (matplotlib axis handle) – The matplotlib axis handle corresponding to the plot.