seaborn.objects.Plot.limit
- Plot.limit(**limits)
Control the range of visible data.
Keywords correspond to variables defined in the plot, and values are a
(min, max)tuple (where either can beNoneto leave unset).Limits apply only to the axis; data outside the visible range are still used for any stat transforms and added to the plot.
Behavior for non-coordinate variables is currently undefined.
Examples
By default, plot limits are automatically set to provide a small margin around the data (controlled by
Plot.theme()parametersaxes.xmarginand ):



