We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca48799 commit 8482fc2Copy full SHA for 8482fc2
lib/matplotlib/category.py
@@ -53,11 +53,6 @@ def convert(value, unit, axis):
53
StrCategoryConverter._validate_unit(unit)
54
# dtype = object preserves numerical pass throughs
55
values = np.atleast_1d(np.array(value, dtype=object))
56
- # pass through sequence of non binary numbers
57
- with _api.suppress_matplotlib_deprecation_warning():
58
- is_numlike = all(units.ConversionInterface.is_numlike(v)
59
- and not isinstance(v, (str, bytes))
60
- for v in values)
61
# force an update so it also does type checking
62
unit.update(values)
63
return np.vectorize(unit._mapping.__getitem__, otypes=[float])(values)
0 commit comments