-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Open
Labels
Description
Documentation Link
https://matplotlib.org/devdocs/api/_as_gen/matplotlib.axes.Axes.margins.html
Problem
From #20942 (comment):
Axes.margins is not quite clear.
Suggested improvement
Actions:
- Synchronize with
set_xmargin/set_ymargin - Bring in context (link?) with view limits (
set_xlim,set_ylim) Note that the view limits are only updated in the nextNot true anymore, accessing lims unstalls them.autoscale_view. Margins only stall the view.- Maybe add explanation docs on how limits are handled.
Include / consolidate the following and cross-link from the API docs:
Matplotlib Version
3.4.x
Matplotlib documentation version
3.4.x
story645