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
This repository was archived by the owner on Nov 9, 2022. It is now read-only.

Commit 0e536e9

Browse files
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 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)

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