MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / set_zlabel

Method set_zlabel

lib/mpl_toolkits/mplot3d/axes3d.py:2043–2049  ·  view source on GitHub ↗

Set zlabel. See doc for `.set_ylabel` for description.

(self, zlabel, fontdict=None, labelpad=None, **kwargs)

Source from the content-addressed store, hash-verified

2041 return cx, cy, cz, dx, dy, dz
2042
2043 def set_zlabel(self, zlabel, fontdict=None, labelpad=None, **kwargs):
2044 """
2045 Set zlabel. See doc for `.set_ylabel` for description.
2046 """
2047 if labelpad is not None:
2048 self.zaxis.labelpad = labelpad
2049 return self.zaxis.set_label_text(zlabel, fontdict, **kwargs)
2050
2051 def get_zlabel(self):
2052 """

Callers 15

test_axes3d_reprFunction · 0.80
test_text3dFunction · 0.80
test_axes3d_labelpadFunction · 0.80
scatter3d.pyFile · 0.80
offset.pyFile · 0.80
errorbar3d.pyFile · 0.80
bars3d.pyFile · 0.80
view_planes_3d.pyFile · 0.80
scales3d.pyFile · 0.80

Calls 1

set_label_textMethod · 0.80

Tested by 5

test_axes3d_reprFunction · 0.64
test_text3dFunction · 0.64
test_axes3d_labelpadFunction · 0.64