Skip to content

Conversation

@timhoffm
Copy link
Member

PR Summary

Pie Demo2 rewritten. In particular

  • switch from GridSpec to plt.subplots() - simpler in this case.
  • pie does now set aspect=1. No need to do this explicitly anymore
  • use textprops kwarg instead of looping over the returned texts
  • use setp insead of looping over the autotexts.
  • improved description.

@tacaswell tacaswell added this to the v2.2-doc milestone Apr 18, 2018
@timhoffm
Copy link
Member Author

For easy review:
old
new

@jklymak
Copy link
Member

jklymak commented Apr 19, 2018

Not a fan of the pie call indenting I’d either just indent 8 spaces or line up w the pie call, not the ax object. But I’m hardly a python indenting pro.

@dstansby dstansby merged commit 8f1a399 into matplotlib:master Apr 19, 2018
lumberbot-app bot pushed a commit that referenced this pull request Apr 19, 2018
@timhoffm timhoffm deleted the pie-demo2 branch April 19, 2018 16:57
jklymak added a commit that referenced this pull request Apr 19, 2018
dstansby added a commit that referenced this pull request Apr 23, 2018
dstansby added a commit that referenced this pull request Apr 23, 2018
jklymak added a commit that referenced this pull request Apr 23, 2018
…of-pr-11083

Revert "Backport PR #11083 on branch v2.2.2-doc"
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.

4 participants