easysnowdata.plotting.categorical#
- easysnowdata.plotting.categorical(da: DataArray, ax: Any = None, *, legend: bool = True, legend_kwargs: dict[str, Any] | None = None, title: str | None = None, **imshow_kwargs: Any) Any[source]#
Plot a categorical DataArray with one color per class and a legend.
Returns the matplotlib
Axes.damust carry CFflag_values/flag_meanings(and ideallyflag_colors); atimedimension of length one is squeezed.