Skip to content

Typo in Poly3DCollection constructor #26420

Closed

Description

@rschwa6308

There is a typo in Poly3DCollection.__init__() that causes a TypeError exception whenever the function is called with shade=True.

if facecolors is None and edgecolors in None:

edgecolors in None should be edgecolors is None

Activity

  1. story645 commented on Jul 31, 2023

    @story645
    Member

    want to open a PR to fix that? Also good catch!

  2. stevezhang1999 commented on Aug 15, 2023

    @stevezhang1999
    Contributor

    It looks like we rarely enter this branch - I'm investigating how to trigger the bug.

  3. added this to the v3.7.3 milestone on Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions