Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 63f5153

Browse filesBrowse files
committed
Fix deprecation warning with dateutil 2.5
Count cannot be used together with until in future versions of dateutil. The matplotlib code already checks that there are no more then MAXTICKS generated so it looks like this has always been redundant
1 parent 0853446 commit 63f5153
Copy full SHA for 63f5153

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎lib/matplotlib/dates.py

Copy file name to clipboardExpand all lines: lib/matplotlib/dates.py
+1-1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.