Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8a7666d

Browse files
dstansbytimhoffm
authored andcommitted
Remove deprecation warnings in tests (#12686)
1 parent 9e8be5b commit 8a7666d

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
@@ -4187,7 +4187,7 @@ def scatter(self, x, y, s=None, c=None, marker=None, cmap=None, norm=None,
41874187
if (c_none or
41884188
co is not None or
41894189
isinstance(c, str) or
4190-
(isinstance(c, collections.Iterable) and
4190+
(isinstance(c, collections.abc.Iterable) and
41914191
isinstance(c[0], str))):
41924192
c_array = None
41934193
else:

0 commit comments

Comments
 (0)