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

pie chart subplots #21

Closed
chriddyp opened this issue Oct 5, 2015 · 2 comments
Closed

pie chart subplots #21

chriddyp opened this issue Oct 5, 2015 · 2 comments

Comments

@chriddyp
Copy link
Contributor

chriddyp commented Oct 5, 2015

pie chart subplots are created slightly differently than cartesion subplots - they use the domain property inside the traces. Here is an example: https://plot.ly/python/pie-charts/#pie-chart-subplots

would be cool if this were supported. my attempt was something along the lines of:

cf.tools.subplots([df.iplot(kind='pie', labels='a', values=c, asFigure=True) for c in ['a', 'b', 'c', 'd']])
@santosjorge
Copy link
Owner

You can now try

pies=[cf.datagen.pie().figure(kind='pie',values='values',labels='labels') for _ in list(range(4))]
cf.iplot(cf.subplots(pies))

@PanWu
Copy link

PanWu commented Oct 31, 2016

I just tried this command, and seems like the error still persist. (version 0.8.2). Is this issue be resolved?
screen shot 2016-10-30 at 11 24 38 pm

hybridindie pushed a commit to hybridindie/cufflinks that referenced this issue Apr 13, 2024
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

No branches or pull requests

3 participants