Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

px examples for pie, funnel/funnelarea, sunburst/treemap #1995

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 4 commits into from
Dec 11, 2019

Conversation

emmanuelle
Copy link
Contributor

@emmanuelle emmanuelle commented Dec 10, 2019

Sunburst and treemap examples will go to another PR because I did not want to slow down the review process.

For sunburst and treemap I included only a minimal example since we will probably have a nicer API in the future, with path.

@emmanuelle
Copy link
Contributor Author

I deleted the problematic file on chart studio, the next commit should be ok (saving on electrons and not relaunching the build :-p).

@emmanuelle emmanuelle changed the title px examples for pie and funnel/funnelarea px examples for pie, funnel/funnelarea, sunburst/treemap Dec 10, 2019
@emmanuelle
Copy link
Contributor Author

ready for review !


### Pie chart with plotly express

`plotly.express` is a functional API for `plotly`. Its functions take as input pandas dataframe or objects that can be converted to dataframes such as arrays or dicts. For more details, see the [plotly.express tutorial](/plotly-express/).
Copy link
Contributor

Choose a reason for hiding this comment

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

It would be nice to consistently use the same little sentence I added into all the px blocks at the top of pages like https://plot.ly/python/line-and-scatter/ and the corresponding one in the first non-px block

Plotly Express is the easy-to-use, high-level interface to Plotly, which operates on "tidy" data.

and

If Plotly Express does not provide a good starting point, it is possible to use the more generic go.Scatter function from plotly.graph_objects.

etc (with links)

If we could use this little formula for all the doc pages in this PR that would be 🎉

@nicolaskruchten
Copy link
Contributor

💃

@emmanuelle emmanuelle merged commit acfd037 into doc-prod Dec 11, 2019
@emmanuelle emmanuelle deleted the doc-px-pie branch March 31, 2020 16:34
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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.