Skip to content

Commit b18b2bf

Browse files
Merge branch 'doc-prod'
2 parents 4363c51 + 282e610 commit b18b2bf

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Diff for: doc/python/dumbbell-plots.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ fig = go.Figure(
9494

9595
fig.update_layout(
9696
title="Life Expectancy in Europe: 1952 and 2002",
97-
width=1000,
9897
height=1000,
9998
showlegend=False,
10099
)
@@ -109,7 +108,7 @@ fig.show()
109108

110109
In this example, we add arrow markers to the plot. The first trace adds the lines connecting the data points and arrow markers.
111110
The second trace adds circle markers. On the first trace, we use `standoff=8` to position the arrow marker back from the data point.
112-
For the arrow marker to point directly at the circle marker, this value should be half the circle marker size.
111+
For the arrow marker to point directly at the circle marker, this value should be half the circle marker size, which is hardcoded to 16 here.
113112

114113
```python
115114
import pandas as pd
@@ -165,7 +164,6 @@ fig = go.Figure(
165164

166165
fig.update_layout(
167166
title="Life Expectancy in Europe: 1952 and 2002",
168-
width=1000,
169167
height=1000,
170168
showlegend=False,
171169
)

0 commit comments

Comments
 (0)