Skip to content

Commit c7b1e4b

Browse files
authored
typo and indent fix
1 parent 2642c05 commit c7b1e4b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

_posts/plotly_js/fundamentals/uirevision/2019-01-04-uirevision-persist.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
var interval = setInterval(function() {
4141
data = data.map(new_data);
4242

43-
// user interation will mutate layout and set autorange to false
43+
// user interaction will mutate layout and set autorange to false
4444
// so we need to reset it to true
4545
layout.xaxis.autorange = true;
4646
layout.yaxis.autorange = true;
@@ -49,5 +49,5 @@
4949
// layout.uirevision = rand();
5050

5151
Plotly.react('myDiv', data, layout);
52-
if(cnt === 100) clearInterval(interval);
53-
}, 2500);
52+
if(cnt === 100) clearInterval(interval);
53+
}, 2500);

0 commit comments

Comments
 (0)