matplotlib.axes.Axes.relim

Axes.relim(visible_only=False)

Recompute the data limits based on current artists.

At present, Collection instances are not supported.

Parameters
visible_onlybool, default: False

Whether to exclude invisible artists.

Examples using matplotlib.axes.Axes.relim