Skip to content

Commit cacbc37

Browse files
committed
If you print fig
1 parent c0f6c8c commit cacbc37

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

notebooks/creating-updating-figures.md

+4
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,10 @@ Plotly express (included as the `plotly.express` module) is a high-level data ex
114114
import plotly.express as px
115115
iris = px.data.iris()
116116
fig = px.scatter(iris, x="sepal_width", y="sepal_length", color="species")
117+
118+
# If you print fig, you'll see that it's just a regular figure with data and layout
119+
# print(fig)
120+
117121
fig.show()
118122
```
119123

0 commit comments

Comments
 (0)