Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Open
Labels
Description
Summary
It's unclear to me what the actual negative effects are, but thePatch3D
initialization call toset_3d_properties
is missing itsverts
argument. Need to investigate and fix. Also need to document what this parameter is in the two docstrings here.
matplotlib/lib/mpl_toolkits/mplot3d/art3d.py
Lines 414 to 441 in1e98377
classPatch3D(Patch): | |
""" | |
3D patch object. | |
""" | |
def__init__(self,*args,zs=(),zdir='z',**kwargs): | |
""" | |
Parameters | |
---------- | |
verts : | |
zs : float | |
The location along the *zdir* axis in 3D space to position the | |
patch. | |
zdir : {'x', 'y', 'z'} | |
Plane to plot patch orthogonal to. Default: 'z'. | |
See `.get_dir_vector` for a description of the values. | |
""" | |
super().__init__(*args,**kwargs) | |
self.set_3d_properties(zs,zdir) | |
defset_3d_properties(self,verts,zs=0,zdir='z'): | |
""" | |
Set the *z* position and direction of the patch. | |
Parameters | |
---------- | |
verts : | |
zs : float |
Proposed fix
No response