Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/mpl_toolkits/mplot3d/axes3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -1522,10 +1522,10 @@ def plot(self, xs, ys, *args, **kwargs):
'''
had_data = self.has_data()

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