Title: Plot title should be shifted up when xticks are set to the top of the plot · Issue #1415 · matplotlib/matplotlib · GitHub
Open Graph Title: Plot title should be shifted up when xticks are set to the top of the plot · Issue #1415 · matplotlib/matplotlib
X Title: Plot title should be shifted up when xticks are set to the top of the plot · Issue #1415 · matplotlib/matplotlib
Description: This is an issue that came up in http://trac.sagemath.org/13625 When subplot.xaxis.tick_top() is used, then the position of the plot title is not recomputed. Ideally, it should be shifted further up. Example code is as follows from matpl...
Open Graph Description: This is an issue that came up in http://trac.sagemath.org/13625 When subplot.xaxis.tick_top() is used, then the position of the plot title is not recomputed. Ideally, it should be shifted further u...
X Description: This is an issue that came up in http://trac.sagemath.org/13625 When subplot.xaxis.tick_top() is used, then the position of the plot title is not recomputed. Ideally, it should be shifted further u...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/1415
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Plot title should be shifted up when xticks are set to the top of the plot","articleBody":"This is an issue that came up in http://trac.sagemath.org/13625\n\nWhen `subplot.xaxis.tick_top()` is used, then the position of the plot title is not recomputed. Ideally, it should be shifted further up. Example code is as follows\n\n``` python\nfrom matplotlib.figure import Figure\nfigure = Figure()\nsubplot = figure.add_subplot(111)\nsubplot.plot(range(10),range(10))\nsubplot.xaxis.tick_top()\nsubplot.set_title('a title')\nfrom matplotlib.backends.backend_agg import FigureCanvasAgg\nfigure.set_canvas(FigureCanvasAgg(figure))\nfigure.savefig('/tmp/a.png')\n```\n","author":{"url":"https://github.com/ppurka","@type":"Person","name":"ppurka"},"datePublished":"2012-10-19T13:17:07.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/1415/matplotlib/issues/1415"}
| 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:d9b88521-368b-e834-c34d-05368c781136 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9CA8:2987FD:56E506:739048:6A53EB3B |
| html-safe-nonce | d1fd967623807926a026373745cd42f866e6ca553a894026c374d37d844f909a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Q0E4OjI5ODdGRDo1NkU1MDY6NzM5MDQ4OjZBNTNFQjNCIiwidmlzaXRvcl9pZCI6IjEyNzQyNTY2NTE3ODUwNzE0MTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4c95e78803695a24ea40712da00c5824275d2e83bb8d0e3df96f8988d411c9d2 |
| hovercard-subject-tag | issue:7715307 |
| 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/1415/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0dd3fd5acb57a3705e46eb98a56949841006ece9023e9ee8b842842f050a14ff/matplotlib/matplotlib/issues/1415 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0dd3fd5acb57a3705e46eb98a56949841006ece9023e9ee8b842842f050a14ff/matplotlib/matplotlib/issues/1415 |
| og:image:alt | This is an issue that came up in http://trac.sagemath.org/13625 When subplot.xaxis.tick_top() is used, then the position of the plot title is not recomputed. Ideally, it should be shifted further u... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ppurka |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width