Title: [Bug]: sticky edge related changes for datetime plots · Issue #28567 · matplotlib/matplotlib · GitHub
Open Graph Title: [Bug]: sticky edge related changes for datetime plots · Issue #28567 · matplotlib/matplotlib
X Title: [Bug]: sticky edge related changes for datetime plots · Issue #28567 · matplotlib/matplotlib
Description: Bug summary Having just picked up v3.9.1, we are seeing downstream image test failures due to additional whitespace in contourf and pcolor plots that use datetimes. The change bisects to #28393. Code for reproduction import datetime impo...
Open Graph Description: Bug summary Having just picked up v3.9.1, we are seeing downstream image test failures due to additional whitespace in contourf and pcolor plots that use datetimes. The change bisects to #28393. Co...
X Description: Bug summary Having just picked up v3.9.1, we are seeing downstream image test failures due to additional whitespace in contourf and pcolor plots that use datetimes. The change bisects to #28393. Co...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/28567
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: sticky edge related changes for datetime plots","articleBody":"### Bug summary\r\n\r\nHaving just picked up v3.9.1, we are seeing downstream image test failures due to additional whitespace in `contourf` and `pcolor` plots that use datetimes. The change bisects to #28393.\r\n\r\n### Code for reproduction\r\n\r\n```Python\r\nimport datetime\r\n\r\nimport numpy as np\r\nimport matplotlib.pyplot as plt\r\n\r\ndts = [datetime.datetime(2009, 9, 9, 17, 0) + datetime.timedelta(minutes=n) for n in range(10, 61, 10)]\r\nfoo = range(5)\r\ndata = np.arange(30).reshape(6, 5)\r\n\r\nplt.contourf(foo, dts, data)\r\nplt.show()\r\n```\r\n\r\n\r\n### Actual outcome\r\n\r\n\r\n\r\n\r\n### Expected outcome\r\n\r\nBefore #28393 I get\r\n\r\n\r\n\r\n### Additional information\r\n\r\n_No response_\r\n\r\n### Operating system\r\n\r\nUbuntu\r\n\r\n### Matplotlib Version\r\n\r\nv3.9.1 and `main`\r\n\r\n### Matplotlib Backend\r\n\r\n_No response_\r\n\r\n### Python version\r\n\r\n3.12\r\n\r\n### Jupyter version\r\n\r\n_No response_\r\n\r\n### Installation\r\n\r\nconda","author":{"url":"https://github.com/rcomer","@type":"Person","name":"rcomer"},"datePublished":"2024-07-13T20:32:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/28567/matplotlib/issues/28567"}
| 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:98fbc9cb-49e5-3afe-3b0b-3e9a5a7d481f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E218:2FB9D6:C3D97B:1081106:6A52A18C |
| html-safe-nonce | 36bc9b7d4d835945a73cfad31ab3c0a4f141ff429f0e7ed5dd6d8f0d845d753e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjE4OjJGQjlENjpDM0Q5N0I6MTA4MTEwNjo2QTUyQTE4QyIsInZpc2l0b3JfaWQiOiI2MzAyNjk5NDM1ODkwNzQ1NzQwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 577c8c939d3ece32f8a47b3009dff3eb274a7826fcb2fa73d849f3002ef930f4 |
| hovercard-subject-tag | issue:2407155347 |
| 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/28567/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3577575026737fff44d2f1e407d621c28c2fe39313093bc447fb3031d14582e7/matplotlib/matplotlib/issues/28567 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3577575026737fff44d2f1e407d621c28c2fe39313093bc447fb3031d14582e7/matplotlib/matplotlib/issues/28567 |
| og:image:alt | Bug summary Having just picked up v3.9.1, we are seeing downstream image test failures due to additional whitespace in contourf and pcolor plots that use datetimes. The change bisects to #28393. Co... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rcomer |
| 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