Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Typo in Poly3DCollection constructor #26420

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
rschwa6308 opened this issue Jul 31, 2023 · 2 comments · Fixed by #26532
Closed

Typo in Poly3DCollection constructor #26420

rschwa6308 opened this issue Jul 31, 2023 · 2 comments · Fixed by #26532
Milestone

Comments

@rschwa6308
Copy link

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

@story645
Copy link
Member

story645 commented Jul 31, 2023

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

@stevezhang1999
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants