Skip to content

[MRG] line-and-scatter notebook #12

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
Jun 22, 2019
Merged

[MRG] line-and-scatter notebook #12

merged 4 commits into from
Jun 22, 2019

Conversation

emmanuelle
Copy link
Contributor

This one deserves a separate PR since it's a very popular page.

y = random_y,
mode = 'markers'
)
trace = go.Scatter(x=random_x, y=random_y,
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd like this notebook to not use randomly-generated data... this is a marquee page and it deserves more than random point clouds :) Let's use tips

opacity= 0.3
),name= y[i],
text= data['State']) # The hover text goes here...
trace0 = go.Scatter(
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think this plot ever made sense to me :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes it's very weird. I replaced it with something simpler.

Plotly's Python library is free and open source! [Get started](https://plot.ly/python/getting-started/) by downloading the client and [reading the primer](https://plot.ly/python/getting-started/).
<br>You can set up Plotly to work in [online](https://plot.ly/python/getting-started/#initialization-for-online-plotting) or [offline](https://plot.ly/python/getting-started/#initialization-for-offline-plotting) mode, or in [jupyter notebooks](https://plot.ly/python/getting-started/#start-plotting-online).
<br>We also have a quick-reference [cheatsheet](https://images.plot.ly/plotly-documentation/images/python_cheat_sheet.pdf) (new!) to help you get started!
For examples of line plots with `plotly_express`, see the [line and scatter notebook](https://plot.ly/python/line-and-scatter/).
Copy link
Contributor

Choose a reason for hiding this comment

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

I think there should be a px example here.

@emmanuelle emmanuelle changed the title line-and-scatter notebook [MRG] line-and-scatter notebook Jun 21, 2019
@nicolaskruchten
Copy link
Contributor

💃 🚀

@emmanuelle emmanuelle merged commit 8baa329 into master Jun 22, 2019
@emmanuelle emmanuelle deleted the line-and-scatter branch June 22, 2019 13:14
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