set_axlim

hhpy.plotting.set_axlim(ax: matplotlib.axes._axes.Axes, lim: Union[Sequence[T_co], Mapping[KT, VT_co]], xy: Optional[str] = None)[source]

Wrapper function to set both x and y limits with one call

Parameters:
  • ax – The matplotlib.pyplot.Axes object to plot on, defaults to current axis [optional]
  • lim – axes limits as tuple or Mapping
  • xy – one of [‘x’, ‘y’, ‘xy’, None]
Returns:

None