Closed CreatCodeBuild closed 7 years ago
To the extent that donut charts are efficacious at all, I can imagine wanting to sort by other crirteria: e.g. by size order, or in a way that ensures long labels in small slices get rendered horizontally, so as not to overlap visually. Which is not to say Donut
currently does these things; it doesn't. This is only to say that it's not clear to me that the only correct thing to do is to preserve the dataframe order, which is was you seem to imply.
In any case, bokeh.charts
does not currently have an active maintainer. My best suggestion to you in the short term is to use the well-established bokeh.plotting
API (e.g. the wedge
glyph method) to create this sort of chart. It's slightly more verbose but also offers better control over the appearance.
moving to bkcharts repo
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
I have a Pandas Series.
I pass this Series to Donut
I got this chart The order is wrong.
Should the order of values be the same of it in the Series