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
When you run it, you will see that date axis is too full. I'm not sure what is the best solution to this issue, but after removing interval = 1 in AutoDateLocator.get_locator after comment that says "# We went through the whole loop without breaking, default to 1", all my charts looked pretty well.
(matplotlib 1.2.1)
Activity
mdboom commentedon May 29, 2013
This appears to be fixed in
master. We are making a 1.3.0 release candidate this week, so the fix should be available quite soon.pelson commentedon May 29, 2013
Probably #1925. 😉
Thanks for reporting though @senyai
pelson commentedon May 29, 2013
Actually, I've made the situation better, but it's not entirely fixed (there is a warning and the biggest value, 14, is now chosen). To fix this fully we should add a 21 day interval to https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/dates.py#L790. That is something we can do comfortably for
v1.3.x.pelson commentedon May 29, 2013
PR incoming.
senyai commentedon May 29, 2013
Oh. perfect. Finally AutoDateLocator has tests 😄
I hope I won't get
warningswith my sane interval 👍pelson commentedon May 29, 2013
#2083 fixes. Thanks @senyai
EDIT: Reference the correct issue that fixes this