8000 Update selections.md · Coding-with-Adam/plotly.py@0e536e9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0e536e9

Browse files
committed
Update selections.md
1 parent cb07e20 commit 0e536e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/python/selections.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,15 +138,15 @@ fig.show()
138138

139139
## Selections with Time Series
140140

141-
Selections are also supported on time series figures. Here, we add a rectangular selection with a region between the 83D2 dates `2019-01-01"` and `"2019-10-01"` on the x axis and between `0.95` and `1.17` on the y axis.
141+
Selections are also supported on time series figures. Here, we add a rectangular selection with a region between the dates `2019-01-01"` and `"2019-10-01"` on the x axis and between `0.95` and `1.15` on the y axis.
142142

143143

144144
```python
145145
import plotly.express as px
146146

147147
df = px.data.stocks()
148148
fig = px.line(df, x='date', y="GOOG")
149-
fig.add_selection(x0="2019-01-01", y0=0.95, x1="2019-10-01", y1=1.17)
149+
fig.add_selection(x0="2019-01-01", y0=0.95, x1="2019-10-01", y1=1.15)
150150
fig.show()
151151
```
152152

0 commit comments

Comments
 (0)
0