Title: plot_date() ignores timezone · Issue #5575 · matplotlib/matplotlib · GitHub
Open Graph Title: plot_date() ignores timezone · Issue #5575 · matplotlib/matplotlib
X Title: plot_date() ignores timezone · Issue #5575 · matplotlib/matplotlib
Description: Using matplotlib 1.5.0, I am doing the following: import pytz import matplotlib.pyplot as plt from datetime import datetime time_index = [pytz.timezone('Europe/Berlin').localize(datetime(year=2015, month=11, day=27, hour=x)) for x in ran...
Open Graph Description: Using matplotlib 1.5.0, I am doing the following: import pytz import matplotlib.pyplot as plt from datetime import datetime time_index = [pytz.timezone('Europe/Berlin').localize(datetime(year=2015,...
X Description: Using matplotlib 1.5.0, I am doing the following: import pytz import matplotlib.pyplot as plt from datetime import datetime time_index = [pytz.timezone('Europe/Berlin').localize(datetime(ye...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/5575
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"plot_date() ignores timezone","articleBody":"Using matplotlib 1.5.0, I am doing the following:\n\n``` python\nimport pytz\nimport matplotlib.pyplot as plt\nfrom datetime import datetime\ntime_index = [pytz.timezone('Europe/Berlin').localize(datetime(year=2015, month=11, day=27, hour=x)) for x in range(4)]\nplt.plot_date(time_index, [4]*4, tz='Europe/Berlin')\nplt.plot_date(time_index, [4]*4, tz='UTC')\n```\n\nThe two `plot_date` calls yield the same plot, hence it seems `plot_date()` ignores the `tz` argument. This had been reported and fixed in #193, but for me it doesn't seem to work.\n","author":{"url":"https://github.com/timtroendle","@type":"Person","name":"timtroendle"},"datePublished":"2015-11-27T18:15:49.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/5575/matplotlib/issues/5575"}
| 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:2bc71fb5-d03c-fa65-c231-4cb24444cc5a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AE64:2F0FE8:FC0652:14EF597:6A5334CE |
| html-safe-nonce | bbef4e00c8e3b93042b510bad27e4fa11608c039f9fd89001040f23a28a38dfc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTY0OjJGMEZFODpGQzA2NTI6MTRFRjU5Nzo2QTUzMzRDRSIsInZpc2l0b3JfaWQiOiI0NDM5NTQxOTUyODcxMDg1MjYyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1712b0904b38da474976a78ee38d131f474026746f8d02427196bb2d1f325237 |
| hovercard-subject-tag | issue:119232654 |
| 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/5575/issue_layout |
| twitter:image | https://opengraph.githubassets.com/76a339cc322716cd0fdb99c8ab440ed903beb26331387587a5f2933888807416/matplotlib/matplotlib/issues/5575 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/76a339cc322716cd0fdb99c8ab440ed903beb26331387587a5f2933888807416/matplotlib/matplotlib/issues/5575 |
| og:image:alt | Using matplotlib 1.5.0, I am doing the following: import pytz import matplotlib.pyplot as plt from datetime import datetime time_index = [pytz.timezone('Europe/Berlin').localize(datetime(year=2015,... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | timtroendle |
| 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