8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fa8326 commit e563804Copy full SHA for e563804
doc/python/line-and-scatter.md
@@ -365,12 +365,14 @@ def swarm(
365
ticks='', # Remove the ticks
366
title=""
367
)
368
- fig.show()
+ return fig
369
370
371
372
df_iris = px.data.iris() # iris is a pandas DataFrame
373
-swarm(df_iris["sepal_length"])
+fig = swarm(df_iris["sepal_length"])
374
+fig.show()
375
+
376
```
377
378
## Scatter and line plots with go.Scatter
0 commit comments