Skip to content

[Doc]: Consolidate top and right ticks example#31745

Draft
jayaprajapatii wants to merge 1 commit into
matplotlib:mainfrom
jayaprajapatii:consolidate-top-right-docs
Draft

[Doc]: Consolidate top and right ticks example#31745
jayaprajapatii wants to merge 1 commit into
matplotlib:mainfrom
jayaprajapatii:consolidate-top-right-docs

Conversation

@jayaprajapatii
Copy link
Copy Markdown
Contributor

Closes #31723

Summary

  • Consolidated examples for moving ticks and tick labels to the top and right.
  • Added axis label positioning examples for top and right axes.
  • Simplified the example using tick_params.

Verification

  • Built documentation using make html.

@github-actions github-actions Bot added the Documentation: examples files in galleries/examples label May 25, 2026
@rcomer
Copy link
Copy Markdown
Member

rcomer commented May 25, 2026

"Consolidate" means we want to have one example instead of several. Also, please fill out the PR template including the AI disclosure.

@rcomer rcomer added the status: autoclose candidate PRs that are not yet ready for review and may be automatically closed in two weeks label May 25, 2026
@github-actions
Copy link
Copy Markdown

⏰ 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 status: autoclose candidate label and the PR stays open. Cosmetic changes or incomplete fixes will not be sufficient. Maintainers will assess improvements on their own schedule. Please do not ping (@) maintainers.

@jayaprajapatii
Copy link
Copy Markdown
Contributor Author

Hii, @rcomer Thank you for clarification

Before updating the PR, I want to confirm whether the older examples such as tick_xlabel_top.py and tick_label_right.py should be removed entirely, or if they should remain and reference the new combined example instead.

@rcomer
Copy link
Copy Markdown
Member

rcomer commented May 25, 2026

@jayaprajapatii have a look at the redirect_from directive.

@jayaprajapatii jayaprajapatii marked this pull request as draft May 25, 2026 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation: examples files in galleries/examples status: autoclose candidate PRs that are not yet ready for review and may be automatically closed in two weeks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Doc]: Consolidate docs for moving ticks and axes labels to the top & right

2 participants