solarwindpy.plotting.tools.subplots

subplots(nrows=1, ncols=1, scale_width=1.0, scale_height=1.0, **kwargs)[source]

Create a grid of subplots with a scaled figure size.

Parameters:
  • nrows (int, optional) – Number of subplot rows.

  • ncols (int, optional) – Number of subplot columns.

  • scale_width (float, optional) – Factor applied to the default figure width.

  • scale_height (float, optional) – Factor applied to the default figure height.

  • **kwargs – Additional keyword arguments passed directly to matplotlib.pyplot.subplots().

Returns:

Examples

>>> fig, ax = subplots(2, 2, scale_width=1.5)