Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

[BUG]:Patch3D does not correctly setverts on initialization #28703

Open
@scottshambaugh

Description

@scottshambaugh

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.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp