@@ -84,7 +84,7 @@ def __init__(self, fig, rect=None, *args, **kwargs):
84
84
85
85
# func used to format z -- fall back on major formatters
86
86
self .fmt_zdata = None
87
-
87
+
88
88
if zscale is not None :
89
89
self .set_zscale (zscale )
90
90
@@ -608,10 +608,10 @@ def set_zticks(self, *args, **kwargs):
608
608
.. versionadded:: 1.1.0
609
609
"""
610
610
return self .zaxis .set_ticks (* args , ** kwargs )
611
-
611
+
612
612
def get_zticks (self , minor = False ):
613
613
"""
614
- Return the z ticks as a list of locations
614
+ Return the z ticks as a list of locations
615
615
See :meth:`matplotlib.axes.Axes.get_yticks` for more details.
616
616
617
617
.. note::
@@ -633,7 +633,7 @@ def get_zmajorticklabels(self) :
633
633
def get_zminorticklabels (self ) :
634
634
"""
635
635
Get the ztick labels as a list of Text instances
636
-
636
+
637
637
.. note::
638
638
Minor ticks are not supported. This function was added
639
639
only for completeness.
@@ -1044,6 +1044,7 @@ def grid(self, b=True, **kwargs):
1044
1044
Set / unset 3D grid.
1045
1045
1046
1046
.. note::
1047
+
1047
1048
Currently, this function does not behave the same as
1048
1049
:meth:`matplotlib.axes.Axes.grid`, but it is intended to
1049
1050
eventually support that behavior.
@@ -1359,7 +1360,7 @@ def plot_surface(self, X, Y, Z, *args, **kwargs):
1359
1360
# then an exception is automatically thrown.
1360
1361
X .shape = (rows , cols )
1361
1362
Y .shape = (rows , cols )
1362
-
1363
+
1363
1364
rstride = kwargs .pop ('rstride' , 10 )
1364
1365
cstride = kwargs .pop ('cstride' , 10 )
1365
1366
@@ -1395,7 +1396,7 @@ def plot_surface(self, X, Y, Z, *args, **kwargs):
1395
1396
#colset contains the data for coloring: either average z or the facecolor
1396
1397
colset = []
1397
1398
for rs in xrange (0 , rows - 1 , rstride ):
1398
- for cs in xrange (0 , cols - 1 , cstride ):
1399
+ for cs in xrange (0 , cols - 1 , cstride ):
1399
1400
ps = []
1400
1401
for a in (X , Y , Z ) :
1401
1402
ztop = a [rs ,cs :min (cols , cs + cstride + 1 )]
@@ -2075,7 +2076,7 @@ def get_test_data(delta=0.05):
2075
2076
2076
2077
2077
2078
########################################################
2078
- # Register Axes3D as a 'projection' object available
2079
+ # Register Axes3D as a 'projection' object available
2079
2080
# for use just like any other axes
2080
2081
########################################################
2081
2082
import matplotlib .projections as proj
0 commit comments