osc.viz.utils.subplots_grid

subplots_grid(nrows=1, ncols=1, ax_aspect_hw=(1, 1), ax_height_inch=4.0, dpi=200, **kwargs)[source]

Create a grid of subplots with identical aspect ratio.

Parameters
Return type

Tuple[Figure, ndarray[Any, dtype[Axis]]]

Returns

A figure and an array of axes (possibly squeezed).