Title: [Doc]: Consolidate docs for moving ticks and axes labels to the top & right · Issue #31723 · matplotlib/matplotlib · GitHub
Open Graph Title: [Doc]: Consolidate docs for moving ticks and axes labels to the top & right · Issue #31723 · matplotlib/matplotlib
X Title: [Doc]: Consolidate docs for moving ticks and axes labels to the top & right · Issue #31723 · matplotlib/matplotlib
Description: Documentation Link No response Problem Currently, moving ticks and tick labels to the axes top or right is demo'ed at https://matplotlib.org/stable/gallery/ticks/tick_xlabel_top.html and https://matplotlib.org/stable/gallery/ticks/tick_l...
Open Graph Description: Documentation Link No response Problem Currently, moving ticks and tick labels to the axes top or right is demo'ed at https://matplotlib.org/stable/gallery/ticks/tick_xlabel_top.html and https://ma...
X Description: Documentation Link No response Problem Currently, moving ticks and tick labels to the axes top or right is demo'ed at https://matplotlib.org/stable/gallery/ticks/tick_xlabel_top.html and https:...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/31723
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Doc]: Consolidate docs for moving ticks and axes labels to the top \u0026 right","articleBody":"### Documentation Link\n\n_No response_\n\n### Problem\n\nCurrently, moving ticks and tick labels to the axes top or right is demo'ed at https://matplotlib.org/stable/gallery/ticks/tick_xlabel_top.html and https://matplotlib.org/stable/gallery/ticks/tick_label_right.html, which should probably be consolidated together. From a quick check, moving the *axes* label to the top or right is not actually demo'ed anywhere, except as a side point in https://matplotlib.org/stable/gallery/text_labels_and_annotations/titles_demo.html (regarding how an xlabel at the top interacts with title autopositioning).\n\n### Suggested improvement\n\nAt least the \"xtick \u0026 xticklabel on the top\" example and the \"ytick and yticklabel on the right\" example should be merged, and an example for moving axes labels should be added. While these are technically different concepts (axes labels are unrelated to tick positioning), in practice I would expect that both tasks are often coupled, so I would suggest making a single example that demo'es everything together.","author":{"url":"https://github.com/anntzer","@type":"Person","name":"anntzer"},"datePublished":"2026-05-21T09:47:15.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/31723/matplotlib/issues/31723"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8971bdc9-2767-86af-a3a1-a251de52063d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D4B0:1661F0:2B283A:39F140:6A525A1E |
| html-safe-nonce | 3572b762a4d5bae85296e25bdf2ecb1c6bb147dfa853ea4500c1929a0bf0e3b8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENEIwOjE2NjFGMDoyQjI4M0E6MzlGMTQwOjZBNTI1QTFFIiwidmlzaXRvcl9pZCI6Ijg2ODM2Mzc0NTI4OTg5ODI0MzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7d68db7afd252df91d186852efc306665e88cae8bc2811d2e97403030cc7692b |
| hovercard-subject-tag | issue:4493498279 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/matplotlib/matplotlib/31723/issue_layout |
| twitter:image | https://opengraph.githubassets.com/254359356c4828a9591d91d1caffe4fdcc50616f3bdb6232669874270a49aed9/matplotlib/matplotlib/issues/31723 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/254359356c4828a9591d91d1caffe4fdcc50616f3bdb6232669874270a49aed9/matplotlib/matplotlib/issues/31723 |
| og:image:alt | Documentation Link No response Problem Currently, moving ticks and tick labels to the axes top or right is demo'ed at https://matplotlib.org/stable/gallery/ticks/tick_xlabel_top.html and https://ma... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | anntzer |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width