Skip to content

Commit e243b74

Browse files
Updated typo in entrywidthmode for legend
The current version of the doc shows that the `entrywidthmode` can either be `pixels` (by default) or set to `fraction`. But fraction was written as `'fraction` without the trailing single quote. This merge request fixes that typo.
1 parent 19d02b1 commit e243b74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/python/legend.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ fig.show()
193193

194194
*New in 5.11*
195195

196-
Set the width of horizontal legend entries by setting `entrywidth`. Here we set it to `70` pixels. Pixels is the default unit for `entrywidth`, but you can set it to be a fraction of the plot width using `entrywidthmode='fraction`.
196+
Set the width of horizontal legend entries by setting `entrywidth`. Here we set it to `70` pixels. Pixels is the default unit for `entrywidth`, but you can set it to be a fraction of the plot width using `entrywidthmode='fraction'`.
197197

198198
```python
199199
import plotly.express as px

0 commit comments

Comments
 (0)