8000 Merge pull request #6190 from jenshnielsen/dateutilfix · matplotlib/matplotlib@19c631b · GitHub
[go: up one dir, main page]

Skip to content

Commit 19c631b

Browse files
committed
Merge pull request #6190 from jenshnielsen/dateutilfix
Fix deprecation warning with dateutil 2.5
2 parents 0853446 + 63f5153 commit 19c631b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/dates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -827,7 +827,7 @@ def tick_values(self, vmin, vmax):
827827
# The magic number!
828828
stop = _from_ordinalf(3652059.9999999)
829829

830-
self.rule.set(dtstart=start, until=stop, count=self.MAXTICKS + 1)
830+
self.rule.set(dtstart=start, until=stop)
831831

832832
# estimate the number of ticks very approximately so we don't
833833
# have to do a very expensive (and potentially near infinite)

0 commit comments

Comments
 (0)
0