Title: Rotated text element misalignment in Agg by mdboom · Pull Request #1968 · matplotlib/matplotlib · GitHub
Open Graph Title: Rotated text element misalignment in Agg by mdboom · Pull Request #1968 · matplotlib/matplotlib
X Title: Rotated text element misalignment in Agg by mdboom · Pull Request #1968 · matplotlib/matplotlib
Description: There is an alignment problem with rotated text elements in master when using the agg backend. In the svg and pdf output the two texts from the following example are aligned to the blue baselines as intended, whereas the png (agg) output doesn't provide the expected result. plt.axhline(.5) plt.axvline(.4) plt.axvline(.6) plt.xlim(0, 1) plt.ylim(0, 1) plt.text(.4, .5, "abcd", rotation=90, rotation_mode="anchor", va="baseline") plt.text(.6, .5, "efgh", rotation=90, rotation_mode="anchor", va="baseline") plt.savefig("roated_baseline.pdf") plt.savefig("roated_baseline.png") A side effect from #1810 perhaps?
Open Graph Description: There is an alignment problem with rotated text elements in master when using the agg backend. In the svg and pdf output the two texts from the following example are aligned to the blue baselines a...
X Description: There is an alignment problem with rotated text elements in master when using the agg backend. In the svg and pdf output the two texts from the following example are aligned to the blue baselines a...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/1968
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:dcb9145c-2bc8-2034-c674-117689eba625 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9758:27E2F7:AC7941:E7CF26:6A53192D |
| html-safe-nonce | 65b75f4a388e27dcb9f2c9b72c6620e4123fd0f5aa592a8a8db857366ef8950d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NzU4OjI3RTJGNzpBQzc5NDE6RTdDRjI2OjZBNTMxOTJEIiwidmlzaXRvcl9pZCI6IjY0MDg3ODg5ODkyNzc1NzU0NjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c6a6d301f7ba8f19676b71f80acb8e6b8b2b439a85769dde81448328269bd999 |
| hovercard-subject-tag | pull_request:5492965 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/matplotlib/matplotlib/pull/1968/files |
| twitter:image | https://avatars.githubusercontent.com/u/38294?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/38294?s=400&v=4 |
| og:image:alt | There is an alignment problem with rotated text elements in master when using the agg backend. In the svg and pdf output the two texts from the following example are aligned to the blue baselines a... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| 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