Skip to content

Commit aab4f11

Browse files
committedFeb 6, 2018
remove flagAxForDelete from _restyle
1 parent 54b6969 commit aab4f11

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed
 

‎src/plot_api/plot_api.js

+1-5
Original file line numberDiff line numberDiff line change
@@ -1386,8 +1386,7 @@ function _restyle(gd, aobj, traces) {
13861386
// for the undo / redo queue
13871387
var redoit = {},
13881388
undoit = {},
1389-
axlist,
1390-
flagAxForDelete = {};
1389+
axlist;
13911390

13921391
// make a new empty vals array for undoit
13931392
function a0() { return traces.map(function() { return undefined; }); }
@@ -1530,9 +1529,6 @@ function _restyle(gd, aobj, traces) {
15301529
} else if(Registry.traceIs(cont, 'cartesian')) {
15311530
Lib.nestedProperty(cont, 'marker.colors')
15321531
.set(Lib.nestedProperty(cont, 'marker.color').get());
1533-
// look for axes that are no longer in use and delete them
1534-
flagAxForDelete[cont.xaxis || 'x'] = true;
1535-
flagAxForDelete[cont.yaxis || 'y'] = true;
15361532
}
15371533
}
15381534

0 commit comments

Comments
 (0)
Please sign in to comment.