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 2626import matplotlib .image as mimage
2727import matplotlib .lines as mlines
2828import matplotlib .patches as mpatches
29- import matplotlib .scale as mscale
3029import matplotlib .container as mcontainer
3130import matplotlib .transforms as mtransforms
3231from matplotlib .axes import Axes , rcParams
@@ -672,12 +671,7 @@ def get_zlim(self):
672671 """Get 3D z limits."""
673672 return tuple (self .zz_viewLim .intervalx )
674673
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" )
681675
682676 # We need to slightly redefine these to pass scalez=False
683677 # to their calls of autoscale_view.
You can’t perform that action at this time.
0 commit comments