Version 3.0.2
matplotlib

matplotlib.axes.Axes.update_datalim_bounds

Axes.update_datalim_bounds(bounds)

Extend the datalim BBox to include the given Bbox.

Parameters:bounds : Bbox