Skip to content

Added center and frame arguments for pie-charts [merge to master at cl] #3433

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

Closed
wants to merge 5 commits into from

Conversation

kpalin
Copy link
Contributor

@kpalin kpalin commented Aug 29, 2014

Added new functionality to ax.pie() method for placing the pie chart on given location and letting the axis frame remain with the chart. This is the same change as in pull request #2931 but moved to v1.4.x branch

@jenshnielsen jenshnielsen added this to the v1.5.x milestone Aug 29, 2014
@jenshnielsen
Copy link
Member

This looks good to me. Could you add a test the produces one or more pie charts which uses the frame and a non zero center?

Others may have different opinions but I think this is a new feature so it should go on the master branch not the 1.4.x branch, but since the changes are rather uninvolved I might be convinced otherwise.

@tacaswell
Copy link
Member

I am also in favor of this targeting the master branch. I am hoping to keep 1.4.x bug fixes only and do more frequent point releases.

Don't worry about re-targetting it, we can just do the merge by into master when it is ready.

@tacaswell tacaswell changed the title Added center and frame arguments for pie-charts Added center and frame arguments for pie-charts [merge to master at cl] Aug 29, 2014
@kpalin
Copy link
Contributor Author

kpalin commented Sep 4, 2014

Added tests for three non zero centered pie charts with axis frame on. (And
pep8 conformance)

On 29 August 2014 18:33, Thomas A Caswell notifications@github.com wrote:

I am also in favor of this targeting the master branch. I am hoping to
keep 1.4.x bug fixes only and do more frequent point releases.

Don't worry about re-targetting it, we can just do the merge by into
master when it is ready.


Reply to this email directly or view it on GitHub
#3433 (comment)
.

Kimmo Palin

if not frame:
self.set_frame_on(False)
self.set_xlim((-1.25, 1.25))
self.set_ylim((-1.25, 1.25))
Copy link
Member

Choose a reason for hiding this comment

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

Won't this interact badly with the center kwarg?

@tacaswell
Copy link
Member

Merged to master in e7717f7

@tacaswell tacaswell closed this Oct 19, 2014
@tacaswell tacaswell reopened this Oct 19, 2014
@tacaswell tacaswell closed this Oct 19, 2014
tacaswell added a commit to tacaswell/matplotlib that referenced this pull request Oct 19, 2014
jenshnielsen added a commit that referenced this pull request Oct 19, 2014
DOC/PEP8 : details related to PR #3433
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.

4 participants