8000 Merge pull request #12688 from meeseeksmachine/auto-backport-of-pr-12… · matplotlib/matplotlib@8eb700d · GitHub
[go: up one dir, main page]

Skip to content

Commit 8eb700d

Browse files
authored
Merge pull request #12688 from meeseeksmachine/auto-backport-of-pr-12686-on-v3.0.x
Backport PR #12686 on branch v3.0.x (Remove deprecation wa 8000 rnings in tests)
2 parents bfeb569 + 987dbd6 commit 8eb700d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/axes/_axes.py

Lines 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