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 987dbd6

Browse filesBrowse files
dstansbyMeeseeksDev[bot]
authored andcommitted
Backport PR #12686: Remove deprecation warnings in tests
1 parent bfeb569 commit 987dbd6
Copy full SHA for 987dbd6

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+2
-2
lines changed

‎lib/matplotlib/axes/_axes.py

Copy file name to clipboardExpand all lines: lib/matplotlib/axes/_axes.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import collections
1+
import collections.abc
22
import functools
33
import itertools
44
import logging
@@ -4191,7 +4191,7 @@ def scatter(self, x, y, s=None, c=None, marker=None, cmap=None, norm=None,
41914191
if (c_none or
41924192
co is not None or
41934193
isinstance(c, str) or
4194-
(isinstance(c, collections.Iterable) and
4194+
(isinstance(c, collections.abc.Iterable) and
41954195
isinstance(c[0], str))):
41964196
c_array = None
41974197
else:

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.