Skip to content

Commit dde42aa

Browse files
David HartmannJackUrb
David Hartmann
authored andcommitted
js: fix Plotly flicker on quick updates
1 parent 5774305 commit dde42aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/panes/PlotPane.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ var PlotPane = (props) => {
132132
d.opacity = 1.0;
133133
});
134134

135-
Plotly.newPlot(contentID, data.concat(smooth_data), content.layout, {
135+
Plotly.react(contentID, data.concat(smooth_data), content.layout, {
136136
showLink: true,
137137
linkText: 'Edit',
138138
});

0 commit comments

Comments
 (0)