Skip to content

Fix polar() regression on second call failure #21131

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 2 commits into from
Sep 20, 2021
Merged

Fix polar() regression on second call failure #21131

merged 2 commits into from
Sep 20, 2021

Conversation

beckja
Copy link
Contributor

@beckja beckja commented Sep 19, 2021

PR Summary

PR Checklist

  • Has pytest style unit tests (and pytest passes).
  • Is Flake 8 compliant (run flake8 on changed files to check).
  • New features are documented, with examples if plot related.
  • Documentation is sphinx and numpydoc compliant (the docs should build without error).
  • Conforms to Matplotlib style conventions (install flake8-docstrings and run flake8 --docstring-convention=all).
  • New features have an entry in doc/users/next_whats_new/ (follow instructions in README.rst there).
  • API changes documented in doc/api/next_api_changes/ (follow instructions in README.rst there).

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 while, please feel free to ping @matplotlib/developers or anyone who has commented on the PR. 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.

@beckja
Copy link
Contributor Author

beckja commented Sep 19, 2021

This is a fix for issue #21113

@tacaswell
Copy link
Member

@beckja Do you feel up to adding a test for this?

@tacaswell tacaswell added this to the v3.4.4 milestone Sep 19, 2021
@tacaswell
Copy link
Member

Thanks @beckja ! I hope you do not mind, I took the liberty of pushing a slight modification to your test to use unpacking syntax (to make sure that only one thing is returned and to make the rest of the rest read a bit better).

Given that I pushed a commit to this PR I probably should not merge it.

@tacaswell tacaswell added the Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions. label Sep 19, 2021
@beckja
Copy link
Contributor Author

beckja commented Sep 20, 2021

@tacaswell appreciate the clean-up. This is my first pull request on any open source project, so grateful for the help.

@tacaswell
Copy link
Member

@beckja You identified a problem, proposed a fix, added a test, and look on track to get merged with only very minor revisions, so you are doing pretty good for your first PR!

@tacaswell
Copy link
Member

Congratulation @beckja on your first Matplotlib PR 🎉 !

Hopefully we will hear from you again.

tacaswell pushed a commit to tacaswell/matplotlib that referenced this pull request Oct 12, 2021
Fix polar() regression on second call failure
tacaswell pushed a commit that referenced this pull request Oct 20, 2021
Fix polar() regression on second call failure
@QuLogic QuLogic modified the milestones: v3.4.4, v3.5.0 Nov 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants