SubplotGrid¶
- class SubplotGrid(**kwargs)[source]¶
Bases:
collections.abc.MutableSequence,listList-like object used to store subplots returned by
subplots. 1d indexing uses the underlying list of axes while 2d indexing uses thegridspec. See__getitem__for details.- Parameters
iterable (
list-like) – An iterable ofproplot.axes.Axessubplots or their children.
Attributes Summary
The
GridSpecassociated with the grid.The shape of the
GridSpecassociated with the grid.Methods Summary
__getattr__(attr)Get a missing attribute.
__getitem__(key)Get an axes.
__setitem__(key, value)Add an axes.
altx(*args, **kwargs)Call
altxfor every axes in the grid.alty(*args, **kwargs)Call
altyfor every axes in the grid.colorbar(*args, **kwargs)Call
colorbarfor every axes in the grid.dualx(*args, **kwargs)Call
dualxfor every axes in the grid.dualy(*args, **kwargs)Call
dualyfor every axes in the grid.format(*args, **kwargs)Call
formatfor every axes in the grid.inset(*args, **kwargs)Call
insetfor every axes in the grid.inset_axes(*args, **kwargs)Call
inset_axesfor every axes in the grid.legend(*args, **kwargs)Call
legendfor every axes in the grid.panel(*args, **kwargs)Call
panelfor every axes in the grid.panel_axes(*args, **kwargs)Call
panel_axesfor every axes in the grid.text(*args, **kwargs)Call
textfor every axes in the grid.twinx(*args, **kwargs)Call
twinxfor every axes in the grid.twiny(*args, **kwargs)Call
twinyfor every axes in the grid.