mpl.figure.Bbox.update_from_path

Bbox.update_from_path(path, ignore=None, updatex=True, updatey=True)[source]

Update the bounds of the Bbox based on the passed in data. After updating, the bounds will have positive width and height; x0 and y0 will be the minimal values.

path: a Path instance

ignore:
  • when True, ignore the existing bounds of the Bbox.
  • when False, include the existing bounds of the Bbox.
  • when None, use the last value passed to ignore().

updatex: when True, update the x values

updatey: when True, update the y values