xarray_scatter_min

PlasmaCalcs.plotting.scatter.xarray_scatter_min(array, x, y, *, t=None, **kw_scatter)

use XarrayScatter to plt.scatter() a single marker, at the argmin of array.

default style: {**DEFAULTS.PLOT.SCATTER_STYLE, **DEFAULTS.PLOT.SCATTER_MIN}
array: xarray.DataArray
array whose min will be marked.
x: str
coordinate to use for x-axis values.
y: str
coordinate to use for y-axis values.
t: None or str
coordinate to use for “time” (iterate across movie frames).
None –> probably can’t animate; might show all points in 1 frame.
[TODO] optionally infer x, y, t automatically if not provided directly.
additional kwargs go to XarrayScatter
returns XarrayScatter object.