@@ -84,7 +84,7 @@ def __init__(self, fig, rect=None, *args, **kwargs):
8484
8585 # func used to format z -- fall back on major formatters
8686 self .fmt_zdata = None
87-
87+
8888 if zscale is not None :
8989 self .set_zscale (zscale )
9090
@@ -608,10 +608,10 @@ def set_zticks(self, *args, **kwargs):
608608 .. versionadded:: 1.1.0
609609 """
610610 return self .zaxis .set_ticks (* args , ** kwargs )
611-
611+
612612 def get_zticks (self , minor = False ):
613613 """
614- Return the z ticks as a list of locations
614+ Return the z ticks as a list of locations
615615 See :meth:`matplotlib.axes.Axes.get_yticks` for more details.
616616
617617 .. note::
@@ -633,7 +633,7 @@ def get_zmajorticklabels(self) :
633633 def get_zminorticklabels (self ) :
634634 """
635635 Get the ztick labels as a list of Text instances
636-
636+
637637 .. note::
638638 Minor ticks are not supported. This function was added
639639 only for completeness.
@@ -1044,6 +1044,7 @@ def grid(self, b=True, **kwargs):
10441044 Set / unset 3D grid.
10451045
10461046 .. note::
1047+
10471048 Currently, this function does not behave the same as
10481049 :meth:`matplotlib.axes.Axes.grid`, but it is intended to
10491050 eventually support that behavior.
@@ -1359,7 +1360,7 @@ def plot_surface(self, X, Y, Z, *args, **kwargs):
13591360 # then an exception is automatically thrown.
13601361 X .shape = (rows , cols )
13611362 Y .shape = (rows , cols )
1362-
1363+
13631364 rstride = kwargs .pop ('rstride' , 10 )
13641365 cstride = kwargs .pop ('cstride' , 10 )
13651366
@@ -1395,7 +1396,7 @@ def plot_surface(self, X, Y, Z, *args, **kwargs):
13951396 #colset contains the data for coloring: either average z or the facecolor
13961397 colset = []
13971398 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 ):
13991400 ps = []
14001401 for a in (X , Y , Z ) :
14011402 ztop = a [rs ,cs :min (cols , cs + cstride + 1 )]
@@ -2075,7 +2076,7 @@ def get_test_data(delta=0.05):
20752076
20762077
20772078########################################################
2078- # Register Axes3D as a 'projection' object available
2079+ # Register Axes3D as a 'projection' object available
20792080# for use just like any other axes
20802081########################################################
20812082import matplotlib .projections as proj
0 commit comments