Skip to content

Commit b0ecb70

Browse files
committed
Remove use of is_string_like in mplot3d.
1 parent bed999e commit b0ecb70

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/mpl_toolkits/mplot3d/axes3d.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1522,10 +1522,10 @@ def plot(self, xs, ys, *args, **kwargs):
15221522
'''
15231523
had_data = self.has_data()
15241524

1525-
# `zs` can be passed positionally or as keyword; checking with
1526-
# `_is_string_like` matches the behavior of 2D `plot` (via
1525+
# `zs` can be passed positionally or as keyword; checking whether
1526+
# args[0] is a string matches the behavior of 2D `plot` (via
15271527
# `_process_plot_var_args`).
1528-
if args and not cbook.is_string_like(args[0]):
1528+
if args and not isinstance(args[0], six.string_types):
15291529
zs = args[0]
15301530
args = args[1:]
15311531
if 'zs' in kwargs:

0 commit comments

Comments
 (0)