Skip to content

Commit f1dde35

Browse files
committed
rm dead code + comments
1 parent f18d07b commit f1dde35

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

shelly/plotlyjs/static/plotlyjs/src/axes.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2476,6 +2476,7 @@ axes.getSubplots = function(gd, ax) {
24762476
if(spMatch.test(sp)) allSubplots.push(sp);
24772477
}
24782478

2479+
// sort the subplot ids
24792480
allSubplots.sort(function(a, b) {
24802481
var aMatch = a.match(spMatch),
24812482
bMatch = b.match(spMatch);

shelly/plotlyjs/static/plotlyjs/src/snapshot/cloneplot.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,10 @@ module.exports = function clonePlot(graphObj, options) {
108108
extendFlat(newLayout[sceneId].xaxis, axesImageOverride);
109109
extendFlat(newLayout[sceneId].yaxis, axesImageOverride);
110110
extendFlat(newLayout[sceneId].zaxis, axesImageOverride);
111+
112+
// TODO what does this do?
111113
newLayout[sceneId]._scene = null;
112114
}
113-
114-
newLayout.glopts = {preserveDrawingBuffer: true};
115115
}
116116

117117
var td = document.createElement('div');

0 commit comments

Comments
 (0)