@@ -568,7 +568,7 @@ def set_xlim3d(self, left=None, right=None, emit=True, auto=False, **kw):
568
568
if kw :
569
569
raise ValueError ("unrecognized kwargs: %s" % kw .keys ())
570
570
571
- if right is None and iterable (left ):
571
+ if right is None and cbook . iterable (left ):
572
572
left , right = left
573
573
574
574
self ._process_unit_info (xdata = (left , right ))
@@ -623,7 +623,7 @@ def set_ylim3d(self, bottom=None, top=None, emit=True, auto=False, **kw):
623
623
if kw :
624
624
raise ValueError ("unrecognized kwargs: %s" % kw .keys ())
625
625
626
- if top is None and iterable (bottom ):
626
+ if top is None and cbook . iterable (bottom ):
627
627
bottom , top = bottom
628
628
629
629
self ._process_unit_info (ydata = (bottom , top ))
@@ -677,7 +677,7 @@ def set_zlim3d(self, bottom=None, top=None, emit=True, auto=False, **kw):
677
677
if kw :
678
678
raise ValueError ("unrecognized kwargs: %s" % kw .keys ())
679
679
680
- if top is None and iterable (bottom ):
680
+ if top is None and cbook . iterable (bottom ):
681
681
bottom , top = bottom
682
682
683
683
self ._process_unit_info (zdata = (bottom , top ))
@@ -1425,7 +1425,7 @@ def set_zbound(self, lower=None, upper=None):
1425
1425
.. versionadded :: 1.1.0
1426
1426
This function was added, but not tested. Please report any bugs.
1427
1427
"""
1428
- if upper is None and iterable (lower ):
1428
+ if upper is None and cbook . iterable (lower ):
1429
1429
lower ,upper = lower
1430
1430
1431
1431
old_lower ,old_upper = self .get_zbound ()
0 commit comments