Title: Vertical alignment of text is too high · Issue #2527 · matplotlib/matplotlib · GitHub
Open Graph Title: Vertical alignment of text is too high · Issue #2527 · matplotlib/matplotlib
X Title: Vertical alignment of text is too high · Issue #2527 · matplotlib/matplotlib
Description: One of the improvements to matplotlib 1.3.0 is supposed to be improved vertical alignment of text, but it appears to have gotten worse in my experience. Here is an example: import matplotlib.pylab as plt mpl.rcParams['font.size'] = 24 fi...
Open Graph Description: One of the improvements to matplotlib 1.3.0 is supposed to be improved vertical alignment of text, but it appears to have gotten worse in my experience. Here is an example: import matplotlib.pylab ...
X Description: One of the improvements to matplotlib 1.3.0 is supposed to be improved vertical alignment of text, but it appears to have gotten worse in my experience. Here is an example: import matplotlib.pylab ...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/2527
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Vertical alignment of text is too high","articleBody":"One of the improvements to matplotlib 1.3.0 is supposed to be improved vertical alignment of text, but it appears to have gotten worse in my experience. Here is an example:\n\n```\nimport matplotlib.pylab as plt\nmpl.rcParams['font.size'] = 24\nfig = plt.figure(figsize = (5,5))\nax = plt.subplot(111)\nax.plot([0,1], [0,1])\n\ntxts = ['1', '2', '3']\ny_coords = [0.8, 0.5, 0.2]\nfor txt, y_coord in zip(txts, y_coords):\n ax.annotate(txt, xy = (0.25, y_coord), fontname = 'Helvetica', \\\n size=36, va='center', ha='center', \\\n bbox=dict(boxstyle='square', fc = 'w'))\n\nplt.savefig('Test.png', bbox_inches = 'tight', pad_inches = 0)\n```\n\nIn matplotlib 1.2.1 the png looks like this\n\n\n\nbut in matplotlib 1.3.0 the png looks like this\n\n\n\nThe numbers in the the v1.3.0 png are too high. The numbers should be in the center of the rectangular boxes, and the center of the tick mark numbers should line up with the tick marks.\n","author":{"url":"https://github.com/breedlun","@type":"Person","name":"breedlun"},"datePublished":"2013-10-17T02:57:27.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/2527/matplotlib/issues/2527"}
| 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:ea1c1dab-065a-a1db-1160-af131863e724 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C2C0:8CEA6:B624B6:1082387:6A57491C |
| html-safe-nonce | 95be4cf128dc3a81e24915fe1236b8b80e257362efabcd143868c17981cbbd98 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMkMwOjhDRUE2OkI2MjRCNjoxMDgyMzg3OjZBNTc0OTFDIiwidmlzaXRvcl9pZCI6IjQ0MDE3NjY4OTk0NTkyNDYzNjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 57ab19eb87ed85605e6b12ac9bce84da9979ea71bcfe45258825b9acbf01aa66 |
| hovercard-subject-tag | issue:21129903 |
| 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/2527/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c2e66340fa0905a022ab25575caaf03f10c97295f41990fd642634d9b1d3bed9/matplotlib/matplotlib/issues/2527 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c2e66340fa0905a022ab25575caaf03f10c97295f41990fd642634d9b1d3bed9/matplotlib/matplotlib/issues/2527 |
| og:image:alt | One of the improvements to matplotlib 1.3.0 is supposed to be improved vertical alignment of text, but it appears to have gotten worse in my experience. Here is an example: import matplotlib.pylab ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | breedlun |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4e7a7296a3830877cf21a6ad2a972c9e618a48915e03966cf0c53eb08e5aad98 |
| 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 | 602250ea3b6dd8302a7220ef98adb828dbc807e4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width