Skip to content

Commit fbc1668

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

File tree

1 file changed

+33
-27
lines changed

1 file changed

+33
-27
lines changed

doc/python/selections.md

Lines changed: 33 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -225,33 +225,39 @@ fig.update_layout(
225225
width = 600,
226226
bargap = 0,
227227
hovermode = 'closest',
228-
showlegend = False,
229-
selections = [{
230-
"x0": 0.5,
231-
"x1": -0.5,
232-
"xref": "x",
233-
"y0": 190,
234-
"y1": 0,
235-
"yref": "y2",
236-
"line":dict(color="yellow")
237-
}, {
238-
"x0": -0.2,
239-
"x1": -1.5,
240-
"xref": "x",
241-
"y0": 2,
242-
"y1": -1,
243-
"yref": "y",
244-
"line":dict(
245-
color="yellow"
246-
)
247-
}, {
248-
"path": "M0.75,2.39L0.98,3.38L1.46,3.68L1.80,3.35L2.01,2.51L1.67,1.15L1.18,0.50L0.65,0.66L0.54,0.83L0.49,1.56Z",
249-
"xref": "x",
250-
"yref": "y",
251-
"line":dict(
252-
color="yellow"
253-
)
254-
}]
228+
showlegend = False,
229+
selections = [
230+
dict(
231+
x0 = 0.5,
232+
x1 = -0.5,
233+
xref = "x",
234+
y0 = 190,
235+
y1= 0,
236+
yref = "y2",
237+
line = dict(
238+
color="yellow"
239+
)
240+
),
241+
dict(
242+
x0 = -0.2,
243+
x1 = -1.5,
244+
xref = "x",
245+
y0 = 2,
246+
y1= -1,
247+
yref = "y",
248+
line = dict(
249+
color="yellow"
250+
)
251+
),
252+
dict(
253+
path= "M0.75,2.39L0.98,3.38L1.46,3.68L1.80,3.35L2.01,2.51L1.67,1.15L1.18,0.50L0.65,0.66L0.54,0.83L0.49,1.56Z",
254+
xref= 'x',
255+
yref = 'y',
256+
line = dict(
257+
color='yellow'
258+
)
259+
)
260+
]
255261
)
256262

257263

0 commit comments

Comments
 (0)