Skip to content

Commit 2a456e0

Browse files
authored
Update doc/python/legend.md
1 parent d3a4958 commit 2a456e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/python/legend.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ fig.add_trace(go.Scatter(
315315
fig.show()
316316
```
317317

318-
By default, for shapes, legend items are disabled. Set `showlegend=True` on a shape for it to dislay a legend item.
318+
By default, for shapes, legend items are disabled. Set `showlegend=True` on a shape for it to display a legend item.
319319
The name that appears for the shape in the legend is the shape's `name` if it is provided. If no `name` is provided, the shape label's `text` is used. If neither is provided, the legend item appears as "shape \<shape number>". For example, "shape 1".
320320

321321
```python

0 commit comments

Comments
 (0)