You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Off-by-one bug in annual axis labels when localized time crosses year boundary #12675
Built this morning from master. Also confirmed the issue on 3.0.0 and confirmed that 2.2.2 does not have the issue (or at least not with the reproduction steps I found.)
I built matplotlib from source to verify that this bug affects master. The checks against 3.0.0 and 2.2.2 were done on a conda install of those versions and may have had different versions of pytz and jupyter.
Activity
jklymak commentedon Oct 30, 2018
OK, this bisects to 0337883 (#9801). Not sure why that causes this bug, but it is certainly a bad one.
ImportanceOfBeingErnest commentedon Oct 30, 2018
A workaround is to set the
interval_multiplestoFalse.But that's sure not a sustainable solution.
I wonder if this goes deeper, because without the time zone it works fine.
jklymak commentedon Oct 30, 2018
Yeah, I think #9801 just made the real bug more apparent by changing the default
interval_multiplesjklymak commentedon Oct 30, 2018
OK, this seems to be either a
datetimebug orpytzbug?yields:
jklymak commentedon Oct 30, 2018
Ah, OK, you can't do:
but you can do:
Doing
yields a good round trip..
OTOH, the bug described above is still an issue...
jklymak commentedon Oct 30, 2018
OK, thanks for the bug report - there was a tz argument not being passed through. Fixed in #12678