FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Newfeats/mplot3d ticklabels by WeatherGod · Pull Request #23 · matplotlib/matplotlib · GitHub

Repository navigation

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .py  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
44 changes: 39 additions & 5 deletions lib/mpl_toolkits/mplot3d/axes3d.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -290,15 +290,49 @@ def get_zlim3d(self):
return self.zz_viewLim.intervalx
get_zlim = get_zlim3d

def set_zticks(self,*args,**kwargs):
def set_zticks(self, *args, **kwargs):
"""
Set 3d z tick locations and (optionally labels).
See set_xticks3d for more details.
Set z-axis tick locations.
See set_xticks for more details.

Note that minor ticks are not supported at this time.
"""
return self.w_zaxis.set_ticks(*args, **kwargs)

def get_zticks(self):
return self.w_zaxis.get_ticks()
def get_zticks(self, *args, **kwargs):
"""
Get the z-axis tick objects.
See get_xticks for more details.

Note that minor ticks are not supported at this time.
"""
return self.w_zaxis.get_ticks(*args, **kwargs)

def set_zticklabels(self, *args, **kwargs) :
"""
Set z-axis tick labels.
See set_xticklabels for more details.

Note that minor ticks are not supported at this time.
"""
return self.w_zaxis.set_ticklabels(*args, **kwargs)

def get_zticklabels(self, *args, **kwargs) :
"""
Get ztick labels as a list of Text instances.
Set get_xticklabels for more details.

Note that minor ticks are not supported at this time.
"""
return self.w_zaxis.get_ticklabels(*args, **kwargs)

def get_zticklines(self) :
"""
Get ztick lines as a list of Line2D instances.
Note that this function is provided merely for completeness.
These lines are re-calculated as the display changes.
"""
return self.w_zaxis.get_ticklines()

def clabel(self, *args, **kwargs):
return None
Expand Down

Back | FazBrowse Home | New Git URL