File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change 26
26
import matplotlib .image as mimage
27
27
import matplotlib .lines as mlines
28
28
import matplotlib .patches as mpatches
29
- import matplotlib .scale as mscale
30
29
import matplotlib .container as mcontainer
31
30
import matplotlib .transforms as mtransforms
32
31
from matplotlib .axes import Axes , rcParams
@@ -672,12 +671,7 @@ def get_zlim(self):
672
671
"""Get 3D z limits."""
673
672
return tuple (self .zz_viewLim .intervalx )
674
673
675
- def get_zscale (self ):
676
- """
677
- Return the zaxis scale string %s
678
-
679
- """ % (", " .join (mscale .get_scale_names ()))
680
- return self .zaxis .get_scale ()
674
+ get_zscale = _axis_method_wrapper ("zaxis" , "get_scale" )
681
675
682
676
# We need to slightly redefine these to pass scalez=False
683
677
# to their calls of autoscale_view.
You can’t perform that action at this time.
0 commit comments