Skip to content

Commit

Permalink
Remove deprecation warnings in tests (matplotlib#12686)
Browse files Browse the repository at this point in the history
  • Loading branch information
dstansby authored and timhoffm committed Oct 31, 2018
1 parent 9e8be5b commit 8a7666d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/matplotlib/axes/_axes.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import collections
import collections.abc
import functools
import itertools
import logging
Expand Down Expand Up @@ -4187,7 +4187,7 @@ def scatter(self, x, y, s=None, c=None, marker=None, cmap=None, norm=None,
if (c_none or
co is not None or
isinstance(c, str) or
(isinstance(c, collections.Iterable) and
(isinstance(c, collections.abc.Iterable) and
isinstance(c[0], str))):
c_array = None
else:
Expand Down

0 comments on commit 8a7666d

Please sign in to comment.