Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8c6c24a

Browse files
committed
Merge pull request #809 from jenshnielsen/zticks
Fix get_zticks and docs
2 parents c5593ee + b6f2b63 commit 8c6c24a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/mpl_toolkits/mplot3d/axes3d.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -609,17 +609,17 @@ def set_zticks(self, *args, **kwargs):
609609
"""
610610
return self.zaxis.set_ticks(*args, **kwargs)
611611

612-
def get_zticks(self, *args, **kwargs):
612+
def get_zticks(self, minor=False):
613613
"""
614-
Get the z-axis tick objects.
614+
Return the z ticks as a list of locations
615615
See :meth:`matplotlib.axes.Axes.get_yticks` for more details.
616616
617617
.. note::
618618
Minor ticks are not supported.
619619
620620
.. versionadded:: 1.1.0
621621
"""
622-
return self.zaxis.get_ticks(*args, **kwargs)
622+
return self.zaxis.get_ticklocs(minor=minor)
623623

624624
def get_zmajorticklabels(self) :
625625
"""

0 commit comments

Comments
 (0)