DOC: Add axis sharing section to subplot_mosaic guide - #31720
Conversation
|
The docs-python3 CI failure appears to be a pre-existing infrastructure issue — the build fails at requirements/dev/build-requirements.txt not found, before it reaches any documentation content. This is unrelated to my changes. |
|
⏰ This pull request might be automatically closed in two weeks from now. Thank you for your contribution to Matplotlib and for the effort you have put into this PR. This pull request does not yet meet the quality and clarity standards needed for an effective review. Project maintainers have limited time for code reviews, and our goal is to prioritize well-prepared contributions to keep Matplotlib maintainable. Matplotlib maintainers cannot provide one-to-one guidance on this PR. However, if you ask focused, well-researched questions, a community member may be willing to help. 💬 To increase the chance of a productive review:
As the author, you are responsible for driving this PR, which entails doing necessary background research as well as presenting its context and your thought process. If you are a new contributor, or do not know how to fulfill these requirements, we recommend that you familiarize yourself with Matplotlib's development conventions or engage with the community via our Discourse or one of our meetings before submitting code. If you substantially improve this PR within two weeks, leave a comment and a team member may remove the |
|
Hi, thanks for the PR but please fill out the PR template correctly, including the AI disclosure. |
|
Hello, thank you for the input, I'll make sure everything is in complaisance as soon as possible |
|
@story645 Thanks for the input, I've made the necessary changes to the best of my knowledge, kindly let me know if there's anything else I need to do. |
|
Your branch is based on a very old version of main, likely the cause of the doc build failure. Please rebase. |
2b9be64 to
e402c91
Compare
|
@timhoffm rebase done. Let me know what else is required. |
Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>
|
@timhoffm Just committed the changes. |
|
Thanks @Atharva2012, and congratulations on your first contribution to matplotlib! 🎉 We hope to see you back. |
…720-on-v3.11.x Backport PR #31720 on branch v3.11.x (DOC: Add axis sharing section to subplot_mosaic guide)
|
|
Quick question; is the email address in your first commit correct? It does not appear to be associated with your GitHub account. |
|
@QuLogic Good catch, it was ".con" instead of ".com". I've corrected it for future commits. |
PR summary
Adds a new "Axis sharing" section to the subplot_mosaic user guide (galleries/users_explain/axes/mosaic.py), as requested in #31699 (extracted from #25417).
The section includes:
A basic sharex=True example with "AC;BC" showing standard sharing behavior
A demonstration of the gotcha when combining sharey=True with empty sentinels (".A;BC"), where y-axis tick labels unexpectedly disappear
The tick_params(labelleft=True) workaround to restore them
Closes
#31699
AI Disclosure
None
PR checklist