vispipe.plot_backend.MPL_Figure.set_bbox#

MPL_Figure.set_bbox(bbox, ax=None)#

Sets the xlim and ylim of the plot.

Parameters:
  • bbox (tuple[float, float, float, float]) – typing.Iterable containing x0,y0,x1,y1 where point 0 is the bottem left and point 1 is the top right of the bounding box.

  • ax (Axes | None) – Axes to plot onto. If None self.gca() is called.