Skip to content

Commit 5a535ac

Browse files
fix selections thumbnail
1 parent 00c18fd commit 5a535ac

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/python/selections.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jupyter:
2929
name: Selections
3030
order: 38
3131
permalink: python/selections/
32-
thumbnail: thumbnail/make_selection.jpg
32+
thumbnail: thumbnail/ml_apps.png
3333
---
3434

3535
## Adding Selections to Cartesian Subplots
@@ -60,7 +60,7 @@ fig.show()
6060
## Selections Using a Custom SVG
6161

6262

63-
In the above example, we added a rectangular selection. You can also render a custom SVG for a selection by defining a `path` that can include single or multiple polygons. Here, we create a selection with a single polygon path "M2,6.5L4,7.5L4,6Z".
63+
In the above example, we added a rectangular selection. You can also render a custom SVG for a selection by defining a `path` that can include single or multiple polygons. Here, we create a selection with a single polygon path "M2,6.5L4,7.5L4,6Z".
6464

6565
Please note that multiple polygons e.g. "M0,0L0,10L10,10,L10,0Z M2,2L2,8L8,8,L8,2Z" could be used to subtract certain regions from the selection.
6666

@@ -226,7 +226,7 @@ fig.update_layout(
226226
width = 600,
227227
bargap = 0,
228228
hovermode = 'closest',
229-
showlegend = False,
229+
showlegend = False,
230230
selections = [
231231
dict(
232232
x0 = 0.5,
@@ -249,7 +249,7 @@ fig.update_layout(
249249
line = dict(
250250
color="yellow"
251251
)
252-
),
252+
),
253253
dict(
254254
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",
255255
xref= 'x',

0 commit comments

Comments
 (0)