Title: ytick locations different for 1.5.3 and 2.0.0 · Issue #7905 · matplotlib/matplotlib · GitHub
Open Graph Title: ytick locations different for 1.5.3 and 2.0.0 · Issue #7905 · matplotlib/matplotlib
X Title: ytick locations different for 1.5.3 and 2.0.0 · Issue #7905 · matplotlib/matplotlib
Description: Hi all, I could not find a similar issue so forgive me if its a duplicate. We are trying to get a couple of our tests suites to execute on mpl 1.x and 2.0 without having to duplicate the baseline images. The classic style helps a lot but...
Open Graph Description: Hi all, I could not find a similar issue so forgive me if its a duplicate. We are trying to get a couple of our tests suites to execute on mpl 1.x and 2.0 without having to duplicate the baseline i...
X Description: Hi all, I could not find a similar issue so forgive me if its a duplicate. We are trying to get a couple of our tests suites to execute on mpl 1.x and 2.0 without having to duplicate the baseline i...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/7905
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ytick locations different for 1.5.3 and 2.0.0","articleBody":"Hi all,\r\n\r\nI could not find a similar issue so forgive me if its a duplicate. We are trying to get a couple of our tests suites to execute on mpl 1.x and 2.0 without having to duplicate the baseline images. The `classic` style helps a lot but there are still many small issues mainly related to text positioning. Is there a way I can force it to behave the same on mpl 1.x and 2.0?\r\n\r\nA simple example demonstrating the problem:\r\n\r\n```python\r\nimport matplotlib.pyplot as plt\r\nplt.style.use(\"classic\")\r\nplt.plot([1, 2, 3, 4])\r\nplt.savefig(\"out.png\")\r\n```\r\n\r\nThe difference is subtle but enough to cause issues when testing - the text baseline (or center line I guess) is different for both. This was run for mpl 1.5.3 and mpl 2.0.0.\r\n\r\n\u003cimg width=\"373\" alt=\"screen shot 2017-01-21 at 14 19 41\" src=\"https://cloud.githubusercontent.com/assets/800487/22174693/c4a78ce6-dfe4-11e6-9a7b-ed516123f177.png\"\u003e\r\n","author":{"url":"https://github.com/krischer","@type":"Person","name":"krischer"},"datePublished":"2017-01-21T13:22:59.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":10},"url":"https://github.com/7905/matplotlib/issues/7905"}
| 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:d5dc1de0-f563-f5c8-8914-a03ad58aa88f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E16C:93150:BC9B95:10F9C24:6A55FCB7 |
| html-safe-nonce | b4f4eb0725af29bb2bf67fb42a48ff4995735c44d01570d72f761f05b7aab52a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMTZDOjkzMTUwOkJDOUI5NToxMEY5QzI0OjZBNTVGQ0I3IiwidmlzaXRvcl9pZCI6Ijc1NjQ0MjI2NDg2NDQyMzA5NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a398cbbf46c1c936eb37b9c9d048b8f4ef8e1d14c5d695c00be1ba34de4ed9a0 |
| hovercard-subject-tag | issue:202315330 |
| 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/7905/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8a57a21d4f6943c188a72825a98c5024d0acc427bee314c8fdc446a8e42c4d9d/matplotlib/matplotlib/issues/7905 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8a57a21d4f6943c188a72825a98c5024d0acc427bee314c8fdc446a8e42c4d9d/matplotlib/matplotlib/issues/7905 |
| og:image:alt | Hi all, I could not find a similar issue so forgive me if its a duplicate. We are trying to get a couple of our tests suites to execute on mpl 1.x and 2.0 without having to duplicate the baseline i... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | krischer |
| hostname | github.com |
| expected-hostname | github.com |
| None | b5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e |
| 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 | 3725c7f9b2a6e3a27ef57c5aed13428c0f65e045 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width