Title: Enable plotting of timedeltas · Issue #8869 · matplotlib/matplotlib · GitHub
Open Graph Title: Enable plotting of timedeltas · Issue #8869 · matplotlib/matplotlib
X Title: Enable plotting of timedeltas · Issue #8869 · matplotlib/matplotlib
Description: This is a general issue to track progress in enabling the plotting of timedelta objects. The eventual aim is for code like this to work: import matplotlib.pyplot as plt from datetime import timedelta x = [1, 2] y = [timedelta(seconds=1),...
Open Graph Description: This is a general issue to track progress in enabling the plotting of timedelta objects. The eventual aim is for code like this to work: import matplotlib.pyplot as plt from datetime import timedel...
X Description: This is a general issue to track progress in enabling the plotting of timedelta objects. The eventual aim is for code like this to work: import matplotlib.pyplot as plt from datetime import timedel...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/8869
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Enable plotting of timedeltas","articleBody":"This is a general issue to track progress in enabling the plotting of `timedelta` objects. The eventual aim is for code like this to work:\r\n\r\n```python\r\nimport matplotlib.pyplot as plt\r\nfrom datetime import timedelta\r\n\r\nx = [1, 2]\r\ny = [timedelta(seconds=1), timedelta(seconds=2)]\r\nfig, ax = plt.subplots()\r\nax.scatter(x, y)\r\nplt.show()\r\n```\r\n\r\nTODO\r\n------\r\n\r\n- [ ] Method to convert `timedelta` to Matplotlib's internal time/date representation (float number of days) - #9120 \r\n- [x] Method to convert Matplotlib's internal time/date representation back to `timedelta` - #8870\r\n- [ ] Implement a `TimedeltaFormatter` - #8930\r\n- [ ] Implement a `TimedeltaLocator` (possibly along with `timedelta` versions of `SecondLocator`, `MinuteLocator` etc.)\r\n- [ ] Implement an `AutoTimedeltaLocator`\r\n- [ ] Implement a `TimedeltaConverter` to go in the units registry","author":{"url":"https://github.com/dstansby","@type":"Person","name":"dstansby"},"datePublished":"2017-07-12T11:02:01.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":23},"url":"https://github.com/8869/matplotlib/issues/8869"}
| 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:07173d7b-6386-2dbb-d201-228bc9483d4f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ACAE:1111EE:F1A165:1479075:6A52006F |
| html-safe-nonce | a4db034293f3dd1823fb1907a208b26529a5893c8489d3d27c690086a7e56283 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQ0FFOjExMTFFRTpGMUExNjU6MTQ3OTA3NTo2QTUyMDA2RiIsInZpc2l0b3JfaWQiOiIzNzcwODkyMzk5MDI4NjAwOTQzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 416f620e2a8106617eab8bbfe664279d3850dd4c557dd22aa6f8982a24d43853 |
| hovercard-subject-tag | issue:242341490 |
| 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/8869/issue_layout |
| twitter:image | https://opengraph.githubassets.com/59fc19c8e5794994c61c80f694ec5f2cbe8083da83a353a32ed9471a2a869bdd/matplotlib/matplotlib/issues/8869 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/59fc19c8e5794994c61c80f694ec5f2cbe8083da83a353a32ed9471a2a869bdd/matplotlib/matplotlib/issues/8869 |
| og:image:alt | This is a general issue to track progress in enabling the plotting of timedelta objects. The eventual aim is for code like this to work: import matplotlib.pyplot as plt from datetime import timedel... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dstansby |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width