Skip to content
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

BUG : turned clipping off on pie chart components #2952

Merged
merged 1 commit into from Jul 6, 2014

Conversation

tacaswell
Copy link
Member

closes #2518

This should probably get a test, https://stackoverflow.com/questions/19347453/matplotlib-savefig-trims-the-graph should be a good base.

@tacaswell tacaswell added this to the v1.4.0 milestone Apr 3, 2014
@Tillsten
Copy link
Contributor

Tillsten commented Apr 5, 2014

Could you maybe explain why this is better than just adjust the hardcoded limits by a small amount?
Else this patch is fine. Thanks for your hard work, @tacaswell.

@tacaswell
Copy link
Member Author

I think this is better than adjusting the limits because now the patches and the text match clipping behavior. It would be better to control this via kwarg (not hard coded) for both the text and the wedges. I will take care of that when I rebase.

@tacaswell
Copy link
Member Author

@Tillsten Changed to leveraging the newly added *props dicts.

@Tillsten
Copy link
Contributor

Could you also link the PR where the dict was added? Still one question left (see commit coment). If the answer is no, LGTM. Thanks again for you work!

@tacaswell
Copy link
Member Author

The dicts were added in #2923

@Tillsten
Copy link
Contributor

You are right, it copys the props, so LGTM from me.

 - set default value of `clip_on` in *prop dicts
 - closes matplotlib#2518
WeatherGod added a commit that referenced this pull request Jul 6, 2014
BUG : turned clipping off on pie chart components
@WeatherGod WeatherGod merged commit fa86275 into matplotlib:master Jul 6, 2014
@tacaswell tacaswell deleted the pie_clipping branch July 6, 2014 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pie chart is trimmed
4 participants