plopp.superplot#
- plopp.superplot(obj, keep=None, **kwargs)[source]#
Plot a multi-dimensional object as a one-dimensional line, slicing all but one dimension. This will produce one slider per sliced dimension, below the figure. In addition, a tool for saving the currently displayed line is added on the right hand side of the figure.
- Parameters:
obj (
Variable
|DataArray
|Dataset
|DataGroup
[Any
] |ndarray
|Node
) – The object to be plotted.keep (
Optional
[str
], default:None
) – The single dimension to be kept, all remaining dimensions will be sliced. This should be a single string. If no dim is provided, the last/inner dim will be kept.**kwargs – See
plopp.plot()
for the full list of line customization arguments.
- Returns:
FigureLike
– Awidgets.Box
which will contain agraphics.FigLine
, slider widgets and a tool to save/delete lines.