Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fd23bb2

Browse filesBrowse files
committed
add docstring for set_3d_properties
1 parent a510e32 commit fd23bb2
Copy full SHA for fd23bb2

File tree

1 file changed

+11
-0
lines changed
Filter options

1 file changed

+11
-0
lines changed

‎lib/mpl_toolkits/mplot3d/art3d.py

Copy file name to clipboardExpand all lines: lib/mpl_toolkits/mplot3d/art3d.py
+11Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,17 @@ def set_sort_zpos(self, val):
464464
self.stale = True
465465

466466
def set_3d_properties(self, zs, zdir):
467+
"""
468+
Update the z values of the offsets. If there are more XY points in
469+
the offsets than there are Z points then points without a Z offset
470+
will not be drawn.
471+
472+
Parameters
473+
----------
474+
zs : array-like
475+
The new z values for the offsets.
476+
zdir : {'x', 'y', 'z'}
477+
"""
467478
# Force the collection to initialize the face and edgecolors
468479
# just in case it is a scalarmappable with a colormap.
469480
self.update_scalarmappable()

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.