8000 plot_date() ignores timezone in matplotlib version 2.0.0 · Issue #8072 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
plot_date() ignores timezone in matplotlib version 2.0.0 #8072
Closed
@robinloxley1

Description

@robinloxley1

Bug report

Bug summary

copy paste the code from #5575

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 range(4)]
plt.plot_date(time_index, [4]*4, tz='Europe/Berlin')
plt.plot_date(time_index, [3]*4, tz='UTC')

Actual outcome

  • The output gives no difference in xaxis, implying tz is not working.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0