default_grid¶
Import in python using from mcutils.plot import default_grid
-
mcutils.plot.
default_grid
(nsubplots, subplot_spec=None, **kwargs) → matplotlib.gridspec.GridSpec[source]¶ Creates a default layout for identically sizes subplots
- Parameters
nsubplots – number of subplots
subplot_spec – which subplot the new subplots should be contained in
kwargs – additional parameters defining the spacing of the subplots
- Returns
new gridspec