act.plotting.TimeSeriesDisplay.set_yrng

TimeSeriesDisplay.set_yrng(yrng, subplot_index=(0,), match_axes_ylimits=False)[source]

Sets the y range of the plot.

Parameters:
  • yrng (2 number array) – The y limits of the plot.

  • subplot_index (1 or 2D tuple, list, or array) – The index of the subplot to set the y range of. This is ignored if match_axes_ylimits is True.

  • match_axes_ylimits (boolean) – If True, all axes in the display object will have matching provided ylims. Default is False. This is especially useful when utilizing a groupby display with many axes.