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 8482fc2

Browse filesBrowse files
tacaswellQuLogic
authored andcommitted
MNT: remove check that exists only for removed deprecation
1 parent ca48799 commit 8482fc2
Copy full SHA for 8482fc2

File tree

Expand file treeCollapse file tree

1 file changed

+0
-5
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-5
lines changed

‎lib/matplotlib/category.py

Copy file name to clipboardExpand all lines: lib/matplotlib/category.py
-5Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,6 @@ def convert(value, unit, axis):
5353
StrCategoryConverter._validate_unit(unit)
5454
# dtype = object preserves numerical pass throughs
5555
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)
6156
# force an update so it also does type checking
6257
unit.update(values)
6358
return np.vectorize(unit._mapping.__getitem__, otypes=[float])(values)

0 commit comments

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