Skip to content

Commit 9503cc9

Browse files
authored
Correct custom chart help text: use newPlot() (#7557)
1 parent b353057 commit 9503cc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

viz-lib/src/visualizations/chart/Editor/CustomChartSettings.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { EditorPropTypes } from "@/visualizations/prop-types";
66
const defaultCustomCode = trimStart(`
77
// Available variables are x, ys, element, and Plotly
88
// Type console.log(x, ys); for more info about x and ys
9-
// To plot your graph call Plotly.plot(element, ...)
9+
// To plot your graph call Plotly.newPlot(element, ...)
1010
// Plotly examples and docs: https://plot.ly/javascript/
1111
`);
1212

0 commit comments

Comments
 (0)