rcatool.plot.plots.fig_grid_setup
- rcatool.plot.plots.fig_grid_setup(figsize=(12, 12), fshape=(1, 1), direction='row', axes_pad=(None, None), **grid_kwargs)[source]
Set up the plot axes using pyplot.subplots
- Parameters:
figsize (tuple) – Size of figure in inches; (width, height)
fshape (tuple) – setting the shape of figure (nrow, ncol)
direction (string) – ‘row’ or ‘col’; rowwise or columnwise order of axes instances
axes_pad (tuple) – padding (height,width) between edges of adjacent subplots
**grid_kwargs (Additional keyword arguments)
- Returns:
fig (Figure object)
grid (List with axes instances)