arpes.plotting.utils.simple_ax_grid
- arpes.plotting.utils.simple_ax_grid(n_axes, figsize=None, **kwargs) Tuple[matplotlib.figure.Figure, List[matplotlib.axes._axes.Axes], List[matplotlib.axes._axes.Axes]] [source]
Generates a square-ish set of axes and hides the extra ones.
It would be nice to accept an “aspect ratio” item that will attempt to fix the grid dimensions to get an aspect ratio close to the desired one.
- Parameters
n_axes –
figsize –
**kwargs –
- Returns
The figure, the first n axis which are shown, and the remaining hidden axes.