Skip to content

Commit 444535d

Browse files
Merge pull request #67 from mungojam/patch-2
typo and indent fix
2 parents 3aa5092 + c7b1e4b commit 444535d

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)