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

Sign up
Appearance settings

Commit 558016f

Browse files
Merge pull request #5255 from rl-utility-man/patch-18
bug fix to annotation example: restoring an accidently deleted figure creation line
2 parents f4d8464 + aff4e97 commit 558016f

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)

AltStyle によって変換されたページ (->オリジナル) /