- Notifications
You must be signed in to change notification settings - Fork1
pie chart notebook#4
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Uh oh!
There was an error while loading.Please reload this page.
} | ||
py.iplot(fig, filename='pie_chart_subplots') | ||
from plotly.subplots import make_subplots |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Neither of these examples uses the very-coolscalegroup
attr that allows for automatic relative scaling of pie charts, and I think it would be great to add one!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Which type of layout were you thinking of? One small pie chart inside another one with a hole?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
A simple example would be two side by side pies that show the same 4 categories but in different years, say. If you put them in the same scalegroup then the radius is auto-scaled appropriately. Here's an example (generated with myhttps://react-pivottable.js.org/ UI :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
ok, I added such an example.
💃 |
No description provided.