Skip to content

Commit 4ce2674

Browse files
authored
Fix note re: drawing legend (#5450)
Fixes the note to include the correct member to call to draw the graph legend.
1 parent f43c509 commit 4ce2674

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/components/graph.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,5 +169,5 @@ color:
169169
> - Setting `y_grid` will expand any specified range to the nearest multiple of grid spacings.
170170
> - Axis labels are currently not possible without manually placing them.
171171
> - The grid and border color is set with `it.graph()`, while the traces are defined separately.
172-
> - Legends are drawn separately using `it.graph_legend()` and can be positioned independently of the graph.
172+
> - Legends are drawn separately using `it.legend()` and can be positioned independently of the graph.
173173
> - Legend dimensions are automatically calculated if not specified, based on font sizes and trace count.

0 commit comments

Comments
 (0)