act.plotting.Display.add_subplots#

Display.add_subplots(subplot_shape=(1,), secondary_y=False, subplot_kw=None, **kwargs)[source]#

Adds subplots to the Display object. The current figure in the object will be deleted and overwritten.

Parameters:
  • subplot_shape (1 or 2D tuple, list, or array) – The structure of the subplots in (rows, cols).

  • subplot_kw (dict, optional) – The kwargs to pass into fig.subplots.

  • **kwargs (keyword arguments) – Any other keyword arguments that will be passed into matplotlib.pyplot.subplots(). See the matplotlib documentation for further details on what keyword arguments are available.