gsplot.AxesTarget#

AxesTarget = matplotlib.axes._axes.Axes | matplotlib.axes._base._AxesBase | collections.abc.Sequence[matplotlib.axes._axes.Axes | matplotlib.axes._base._AxesBase] | collections.abc.Mapping[typing.Any, matplotlib.axes._axes.Axes | matplotlib.axes._base._AxesBase] | numpy.ndarray[tuple[int, ...], numpy.dtype[typing.Any]]#

One Axes or a deterministic finite collection of Axes.

Examples#

>>> import gsplot as gs
>>> figure, axes = gs.subplots("AB")
>>> target: gs.AxesTarget = axes
>>> import matplotlib.pyplot as plt
>>> plt.close(figure)