Skip to content

Commit b1e7166

Browse files
Update graph.md (#5354)
it.graph_legend() does not exist, instead it.legend() has to be used Co-authored-by: Jonathan Swoboda <[email protected]>
1 parent 994959a commit b1e7166

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
@@ -142,7 +142,7 @@ display:
142142
lambda: |-
143143
// Draw graph and legend
144144
it.graph(10, 20, id(temperature_graph_with_legend));
145-
it.graph_legend(170, 20, id(temperature_graph_with_legend), my_yellow);
145+
it.legend(170, 20, id(temperature_graph_with_legend), my_yellow);
146146
147147
color:
148148
- id: my_red

0 commit comments

Comments
 (0)