cngi.vis.visplot
¶
-
visplot
(xda, axis=None, overplot=False, drawplot=True, tsize=250)[source]¶ Plot a preview of Visibility xarray DataArray contents
- Parameters
xda (xarray.core.dataarray.DataArray) – input DataArray to plot
axis (str or list or xarray.core.dataarray.DataArray) – Coordinate(s) within the xarray DataArray, or a second xarray DataArray to plot against. Default None uses range. All other coordinates will be maxed across dims
overplot (bool) – Overlay new plot on to existing window. Default of False makes a new window for each plot
drawplot (bool) – Display plot window. Should pretty much always be True unless you want to overlay things in a Jupyter notebook.
tsize (int) – target size of the preview plot (might be smaller). Default is 250 points per axis
- Returns
- Return type
Open matplotlib window