set_ylim#

named_arrays.plt.set_ylim(bottom=None, top=None, ax=None, **kwargs)#

A thin wrapper around matplotlib.axes.Axes.set_ylim() for named arrays.

Parameters:
  • bottom (None | float | AbstractScalar) – The bottom of the plot in data coordinates. If None, this limit is unchanged.

  • top (None | float | AbstractScalar) – The top of the plot in data coordinates. If None, this limit is unchanged.

  • ax (None | Axes | AbstractScalar) – The matplotlib axes instance on which to apply the label.

Return type:

tuple[AbstractScalar, AbstractScalar]