You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, I think the only public API to retrieve the margins settings on an Axes is ax.margins(), which has a somewhat peculiar API (basically inherited from pyplot/matlab); adding get_xmargin/get_ymargin/get_zmargin Axes methods would be nice (there's already the corresponding setters).
Bonus points for moving the private _xmargin/_ymargin/_zmargin to the Axis instances, adding Axis.{get,set}_margin, and using axis_method_wrapper, though I haven't checked it'll actually work.
Proposed solution
No response
The text was updated successfully, but these errors were encountered:
Problem
Currently, I think the only public API to retrieve the margins settings on an Axes is ax.margins(), which has a somewhat peculiar API (basically inherited from pyplot/matlab); adding get_xmargin/get_ymargin/get_zmargin Axes methods would be nice (there's already the corresponding setters).
Bonus points for moving the private _xmargin/_ymargin/_zmargin to the Axis instances, adding Axis.{get,set}_margin, and using axis_method_wrapper, though I haven't checked it'll actually work.
Proposed solution
No response
The text was updated successfully, but these errors were encountered: