Skip to content

Commit 8ef98b8

Browse files
committed
fix(harmonic-waves): use .react() instead of newPlot().
1 parent dfac4a9 commit 8ef98b8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

online/harmonic-waves.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@ <h2>Notes:</h2>
728728

729729
];
730730

731-
Plotly.newPlot('waves-container', data, layout, { staticPlot: true });
731+
Plotly.react('waves-container', data, layout, { staticPlot: true });
732732

733733
if (extendedData.is_run === false) requestAnimationFrame(update);
734734

0 commit comments

Comments
 (0)