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

Appearance settings

addressing issue #29156, converted ps to array before slicing #29175

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

Merged
merged 4 commits into from
Dec 11, 2024

Conversation

vicliu2001
Copy link
Contributor

@vicliu2001 vicliu2001 commented Nov 23, 2024

PR summary

closes issue #29156

PR checklist

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for opening your first PR into Matplotlib!

If you have not heard from us in a week or so, please leave a new comment below and that should bring it to our attention. Most of our reviewers are volunteers and sometimes things fall through the cracks.

You can also join us on gitter for real-time discussion.

For details on testing, writing docs, and our review process, please see the developer guide

We strive to be a welcoming and open project. Please follow our Code of Conduct.

@vicliu2001 vicliu2001 changed the title converted ps to array before slicing, addressing issue #29156 addressing issue #29156, converted ps to array before slicing Nov 23, 2024
@vicliu2001 vicliu2001 marked this pull request as ready for review November 23, 2024 19:58

# Following code is an example taken from
# https://stackoverflow.com/questions/18897786/transparency-for-poly3dcollection-plot-in-matplotlib
# and modified to test _generate_normals function
Copy link
Contributor

@scottshambaugh scottshambaugh Nov 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To the other devs, can we include stack overflow code directly like this? It's not clear to me if the CC BY-SA license for stack overflow posts is compatible with matplotlib's license.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think a better test is the one in the issue, with a note that it is a smoke test and a reference to the issue. The added test is not really testing any rendering aspects anyway.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better in the sense that we do not have to worry about the SE-connection and that the SE-test doesn't really add anything more, just more complicated code.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello, can you elaborate a bit more about the SE-connection and SE-test? I'm not sure what you're referring to. I have updated the test using the one in the original issue. I followed similar format as the other smoke test in the file.

@scottshambaugh scottshambaugh added the PR: bugfix Pull requests that fix identified bugs label Nov 23, 2024
@scottshambaugh scottshambaugh added this to the v3.9.3 milestone Nov 23, 2024
@QuLogic QuLogic modified the milestones: v3.9.3, v3.10.1 Nov 30, 2024
@scottshambaugh scottshambaugh merged commit 57f7fdf into matplotlib:v3.9.x Dec 11, 2024
40 checks passed
@scottshambaugh scottshambaugh modified the milestones: v3.10.1, v3.10.0 Dec 11, 2024
@vicliu2001 vicliu2001 deleted the v3.9.x branch December 11, 2024 19:40
@scottshambaugh
Copy link
Contributor

scottshambaugh commented Dec 11, 2024

Whoops, this should have gone into the main branch, my mistake for not checking that. Will open another PR to bring up to main.

@scottshambaugh
Copy link
Contributor

Thank you @vicliu2001 for the PR, and congratulations on your first contribution to matplotlib! We hope to see more of you!

@QuLogic QuLogic modified the milestones: v3.10.0, v3.9.4 Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: bugfix Pull requests that fix identified bugs topic: mplot3d
Projects
Development

Successfully merging this pull request may close these issues.

5 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.