-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Separate plots using #### in make_room_for_ylabel_using_axesgrid.py #15513
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Separate plots using #### in make_room_for_ylabel_using_axesgrid.py #15513
Conversation
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.
Now that each example gets its own code block you can remove the functions and write the commands as top-level code. This is shorter and easier to read.
Thanks for the feedback and apologies for the late response! I removed the functions and wrote them as top-level code instead and I also removed the figure numbers for each code block. Let me know if you'd like to see other changes! |
Thanks for the code review @QuLogic ! I committed the changes for importing matplotlib and assigning the Let me know if you'd like to see other changes! |
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.
You need to matplotlib.pyplot as plt
. Should be above the other imports.
Thanks for the comment @timhoffm ! I just added in the |
…for_ylabel_using_axesgrid.py
Thanks, and congratulations on your first contribution to Matplotlib! Hope to see you back some time. |
…513-on-v3.2.x Backport PR #15513 on branch v3.2.x (Separate plots using #### in make_room_for_ylabel_using_axesgrid.py)
PR Summary
Separate plots using ######### lines for Sphinx-gallery to render plots in sections.
Part of #8922.
PR Checklist