act.plotting.HistogramDisplay.set_xrng

HistogramDisplay.set_xrng(xrng, subplot_index=(0,))[source]

Sets the x range of the plot.

Parameters:
  • xrng (2 number array) – The x limits of the plot.

  • subplot_index (1 or 2D tuple, list, or array) – The index of the subplot to set the x range of.