matplotlib.pyplot.
subplot2grid
(shape, loc, rowspan=1, colspan=1, fig=None, **kwargs)¶Create an axis at specific location inside a regular grid.
Parameters: | shape : sequence of 2 ints
loc : sequence of 2 ints
rowspan : int
colspan : int
fig :
**kwargs
|
---|
Notes
The following call
subplot2grid(shape, loc, rowspan=1, colspan=1)
is identical to
gridspec=GridSpec(shape[0], shape[1])
subplotspec=gridspec.new_subplotspec(loc, rowspan, colspan)
subplot(subplotspec)