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

Skip to content

Fix Radar Chart Gridlines for Non-Circular Charts #22458

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 1 commit into from
Feb 13, 2022
Merged

Fix Radar Chart Gridlines for Non-Circular Charts #22458

merged 1 commit into from
Feb 13, 2022

Conversation

prohde
Copy link
Contributor

@prohde prohde commented Feb 12, 2022

This PR fixes the gridlines for non-circular radar charts. This fixes #19981. Starting with version 3.3.0 the autoconversion to circular arcs in PolarAxes.PolarTransform forced all gridlines to be circular. This PR provides the necessary changes in the example for radar charts to produce gridlines of the same shape as the frame.

Many thanks to @anntzer for identifying the cause of the problem and distilling the proposed fix to a minimal solution.

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.

@anntzer anntzer added this to the v3.5-doc milestone Feb 13, 2022
@anntzer
Copy link
Contributor

anntzer commented Feb 13, 2022

Thanks, this looks great!
Hoping to see you around again in the future.

@anntzer anntzer merged commit cc71742 into matplotlib:main Feb 13, 2022
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Feb 13, 2022
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Feb 13, 2022
timhoffm added a commit that referenced this pull request Feb 13, 2022
…458-on-v3.5.x

Backport PR #22458 on branch v3.5.x (Fix Radar Chart Gridlines for Non-Circular Charts)
timhoffm added a commit that referenced this pull request Feb 13, 2022
…458-on-v3.5.1-doc

Backport PR #22458 on branch v3.5.1-doc (Fix Radar Chart Gridlines for Non-Circular Charts)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Radar Chart with Polygonal Grid Lines
2 participants