Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
DOC: update axes_demo to directly manipulate fig, ax#14934
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Directly call method on each individual axis; instead of the global``plt.`` one, same to create inset; directly refer to the figure onwhich wee create an inset.I also use some more explicit renaming for each axis,and remove assignments on the LHS when those were unused as it seem likea distraction on the subject at hand.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Can this PR also make reference toax.inset_axes
and the axes grid one, just so folks have the other ways to do this automagically?
You mean Just refer to it in the leading text ? Or use them in the code. Can we use ":ref:" with examples ? |
To answer myself likelyyes
|
Prefer :doc: to :ref:, per#11312. |
Done. |
Thanks. |
…934-on-v3.1.1-docBackport PR#14934 on branch v3.1.1-doc (DOC: update axes_demo to directly manipulate fig, ax)
…934-on-v3.1.xBackport PR#14934 on branch v3.1.x (DOC: update axes_demo to directly manipulate fig, ax)
Uh oh!
There was an error while loading.Please reload this page.
PR Summary
Directly call method on each individual axis; instead of the global
plt.
one, same to create inset; directly refer to the figure onwhich wee create an inset.
I also use some more explicit renaming for each axis,
and remove assignments on the LHS when those were unused as it seem like
a distraction on the subject at hand.
PR Checklist