Skip to content

Commit aff4e97

Browse files
restoring an accidently deleted figure creation line
1 parent f4d8464 commit aff4e97

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc/python/text-and-annotations.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -789,6 +789,11 @@ This example shows how to add a note about the data source or interpretation at
789789
```python
790790
import plotly.express as px
791791
df = px.data.iris()
792+
793+
fig = px.scatter(df, x="sepal_width", y="sepal_length", color="species",
794+
size='petal_length', hover_data=['petal_width'])
795+
796+
792797
fig.update_layout(
793798
title=dict(text="Note: this is the Plotly title element.",
794799
# keeping this title string short avoids getting the text cut off in small windows

0 commit comments

Comments
 (0)