Skip to content

Commit 96c75be

Browse files
authored
Merge pull request #8055 from anntzer/undeprecate-is_scalar_or_string
Undeprecate is_scalar_or_string.
2 parents e8d4502 + 86c851a commit 96c75be

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/matplotlib/cbook/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,6 @@ def to_filehandle(fname, flag='rU', return_opened=False):
583583
return fh
584584

585585

586-
@deprecated('2.1')
587586
def is_scalar_or_string(val):
588587
"""Return whether the given object is a scalar or string like."""
589588
return is_string_like(val) or not iterable(val)

0 commit comments

Comments
 (0)