Skip to content

Commit 096ffcc

Browse files
legendrank docs
1 parent 36c559b commit 096ffcc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/python/legend.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,9 @@ fig.show()
9999

100100
*New in v5.0*
101101

102-
The `legendrank` attribute of a trace can be used to control its placement within the legend, without regard for its placement in the `data` list. The default `legendrank` for traces is 1000 and ties are broken as described above, meaning that any trace can be pulled up to the top if it is the only one with a legend rank less than 1000 and pushed to the bottom if it is the only one with a rank greater than 1000.
102+
The `legendrank` attribute of a trace can be used to control its placement within the legend, without regard for its placement in the `data` list.
103+
104+
The default `legendrank` for traces is 1000 and ties are broken as described above, meaning that any trace can be pulled up to the top if it is the only one with a legend rank less than 1000 and pushed to the bottom if it is the only one with a rank greater than 1000.
103105

104106
```python
105107
import plotly.graph_objects as go

0 commit comments

Comments
 (0)