We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Reported in the community forum https://community.plotly.com/t/plotly-sunburst-node-colors/41037
import plotly.express as px import numpy as np df = px.data.gapminder().query("year == 2007") fig = px.sunburst(df, path=['continent', 'country'], values='lifeExp', color='lifeExp', color_continuous_scale='RdBu') fig.show()
The color of a sector should be the average of its children but it seems to be the sum for this case.
The text was updated successfully, but these errors were encountered:
emmanuelle
Successfully merging a pull request may close this issue.
Reported in the community forum https://community.plotly.com/t/plotly-sunburst-node-colors/41037
The color of a sector should be the average of its children but it seems to be the sum for this case.
The text was updated successfully, but these errors were encountered: