Skip to content

count attribute #213

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

Merged
merged 2 commits into from
Dec 1, 2019
Merged

count attribute #213

merged 2 commits into from
Dec 1, 2019

Conversation

Mahdis-z
Copy link
Contributor

No description provided.

@@ -56,6 +56,21 @@ fig.update_layout(margin = dict(t=0, l=0, r=0, b=0))
fig.show()
```

Here is the same example using [count](https://plot.ly/python/reference/#sunburst-count) attribute, that counts the number of `leaves` and/or `branches` when the `values` array is not provided.
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you please add a title? Like "Setting the width of wedges with count"? Please also mention that the default value is the number of leaves.

@emmanuelle
Copy link
Contributor

Thanks, 💃 !

@Mahdis-z Mahdis-z merged commit 941ba99 into master Dec 1, 2019
@Mahdis-z Mahdis-z deleted the count_treemap_sunburst branch December 2, 2019 16:41
@Mahdis-z Mahdis-z restored the count_treemap_sunburst branch December 2, 2019 16:54
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.

2 participants