Skip to content

Creating and updating figures section #26

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 19 commits into from
Jun 27, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
If you print fig
  • Loading branch information
jonmmease committed Jun 22, 2019
commit cacbc37b27499d566cca400e3385c691a3dc35a0
4 changes: 4 additions & 0 deletions notebooks/creating-updating-figures.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ Plotly express (included as the `plotly.express` module) is a high-level data ex
import plotly.express as px
iris = px.data.iris()
fig = px.scatter(iris, x="sepal_width", y="sepal_length", color="species")
Copy link
Member

Choose a reason for hiding this comment

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

what if we added like a # print(fig.to_dict()). # if you inspect the fig, you’ll see it’s just a regular figure with data and layout

Copy link
Contributor Author

Choose a reason for hiding this comment

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

👍 cacbc37


# If you print fig, you'll see that it's just a regular figure with data and layout
# print(fig)

fig.show()
```

Expand Down