Closed
Description
Bug report
Bug summary
- It is a reopen bug report, same to plot_date() ignores timezone #5575. The bug still exists for version 2.0.0.
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.