act.plotting.XSectionDisplay.set_yrng

XSectionDisplay.set_yrng(yrng, subplot_index=(0,))[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 x range of.