Skip to content

Commit 6fc1002

Browse files
try embedding SciPy talk video
1 parent 1b4f698 commit 6fc1002

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

Diff for: doc/python/plotly-express.md

+13-1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,18 @@ The `plotly.express` module (usually imported as `px`) contains functions that c
4040

4141
Plotly Express provides [more than 30 functions for creating different types of figures](https://plotly.com/python-api-reference/plotly.express.html). The API for these functions was carefully designed to be as consistent and easy to learn as possible, making it easy to switch from a scatter plot to a bar chart to a histogram to a sunburst chart throughout a data exploration session. *Scroll down for a gallery of Plotly Express plots, each made in a single function call.*
4242

43+
Here is a talk from the [SciPy 2021 conference](https://www.scipy2021.scipy.org/) that gives a good introduction to Plotly Express and [Dash](https://dash.plotly.com/):
44+
45+
```python hide_code=true
46+
%%html
47+
<div align="center">
48+
<iframe width="560" height="315"
49+
src="https://www.youtube.com/embed/FpCgG85g2Hw"
50+
title="YouTube video player"
51+
frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
52+
</div>
53+
```
54+
4355
Plotly Express currently includes the following functions:
4456

4557
* **Basics**: [`scatter`](/python/line-and-scatter/), [`line`](/python/line-charts/), [`area`](/python/filled-area-plots/), [`bar`](/python/bar-charts/), [`funnel`](/python/funnel-charts/), [`timeline`](https://plotly.com/python/gantt/)
@@ -134,7 +146,7 @@ fig.show()
134146
import plotly.express as px
135147
df = px.data.medals_long()
136148

137-
fig = px.bar(df, x="medal", y="count", color="nation",
149+
fig = px.bar(df, x="medal", y="count", color="nation",
138150
pattern_shape="nation", pattern_shape_sequence=[".", "x", "+"])
139151
fig.show()
140152
```

0 commit comments

Comments
 (0)