Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a510e32 commit aad2986Copy full SHA for aad2986
lib/mpl_toolkits/mplot3d/art3d.py
@@ -463,7 +463,18 @@ def set_sort_zpos(self, val):
463
self._sort_zpos = val
464
self.stale = True
465
466
- def set_3d_properties(self, zs, zdir):
+ def set_3d_properties(self, zs, zdir='z'):
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'}, default: 'z'
477
478
# Force the collection to initialize the face and edgecolors
479
# just in case it is a scalarmappable with a colormap.
480
self.update_scalarmappable()
0 commit comments