Title: General poor default formatting of datetimes on plot x-axis · Issue #9978 · matplotlib/matplotlib · GitHub
Open Graph Title: General poor default formatting of datetimes on plot x-axis · Issue #9978 · matplotlib/matplotlib
X Title: General poor default formatting of datetimes on plot x-axis · Issue #9978 · matplotlib/matplotlib
Description: General poor default formatting of datetimes on plot x-axes I find the default datetime formatting on the basic plot function to be very suboptimal, and often causes overlapping labels. Some factors that I think are worth addressing: "DD...
Open Graph Description: General poor default formatting of datetimes on plot x-axes I find the default datetime formatting on the basic plot function to be very suboptimal, and often causes overlapping labels. Some factor...
X Description: General poor default formatting of datetimes on plot x-axes I find the default datetime formatting on the basic plot function to be very suboptimal, and often causes overlapping labels. Some factor...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/9978
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"General poor default formatting of datetimes on plot x-axis","articleBody":"### General poor default formatting of datetimes on plot x-axes\r\nI find the default datetime formatting on the basic plot function to be very suboptimal, and often causes overlapping labels.\r\n\r\n\r\nSome factors that I think are worth addressing:\r\n- \"DD hh:mm\" format is commonly used, and is unfamiliar to most readers.\r\n- Overlapping labels occurs frequently\r\n\r\nIt is obviously possible to improve date formatting through tick formatting, especially the use of major and minor tick formatting and positioning, but I find this very frustrating to do each time, and would appreciate an improved default functionality.\r\n\r\nMy suggestion would be to move the date to the major ticks, and time to minor ticks, with time only specified in the commonly known iso formats: \"hh:mm\" and \"hh:mm:ss\", and date set to the ISO format: \"YYYY-MM-DD\".\r\n\r\nOr a minimal change would be to change the current functionality to default to \"hh:mm\" rather than \"DD hh:mm\"\r\n\r\n\r\n","author":{"url":"https://github.com/IanButterworth","@type":"Person","name":"IanButterworth"},"datePublished":"2017-12-11T22:09:48.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":13},"url":"https://github.com/9978/matplotlib/issues/9978"}
| 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:5b028574-3f09-5a95-7df4-b06bec2a0352 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AB72:238281:12F18F4:193F1C1:6A5342C4 |
| html-safe-nonce | 817431ac3ae47042b33abcbf64d8a1771e20fee5fdc7fa522c66b0c5162285d1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjcyOjIzODI4MToxMkYxOEY0OjE5M0YxQzE6NkE1MzQyQzQiLCJ2aXNpdG9yX2lkIjoiNDA0NDk0MDI5NDk1Mjc5Njg2OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3abd33ad3bf150e378434cbe35a4353f056ecd598a02d745604455a459bb1b32 |
| hovercard-subject-tag | issue:281184872 |
| 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/9978/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d4131278747aa21378efe5898ed4bd19d243d0a55ef387e7e1e0962d6084c3b6/matplotlib/matplotlib/issues/9978 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d4131278747aa21378efe5898ed4bd19d243d0a55ef387e7e1e0962d6084c3b6/matplotlib/matplotlib/issues/9978 |
| og:image:alt | General poor default formatting of datetimes on plot x-axes I find the default datetime formatting on the basic plot function to be very suboptimal, and often causes overlapping labels. Some factor... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | IanButterworth |
| 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