File tree Expand file tree Collapse file tree 3 files changed +0
-49
lines changed Expand file tree Collapse file tree 3 files changed +0
-49
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ var Color = require('../components/color');
20
20
var BADNUM = require ( '../constants/numerical' ) . BADNUM ;
21
21
22
22
var axisIDs = require ( '../plots/cartesian/axis_ids' ) ;
23
- var sortBasePlotModules = require ( './sort_modules' ) . sortBasePlotModules ;
24
23
25
24
var animationAttrs = require ( './animation_attributes' ) ;
26
25
var frameAttrs = require ( './frame_attributes' ) ;
@@ -487,9 +486,6 @@ plots.supplyDefaults = function(gd, opts) {
487
486
if ( ! skipUpdateCalc && oldCalcdata . length === newFullData . length ) {
488
487
plots . supplyDefaultsUpdateCalc ( oldCalcdata , newFullData ) ;
489
488
}
490
-
491
- // sort base plot modules for consistent ordering
492
- newFullLayout . _basePlotModules . sort ( sortBasePlotModules ) ;
493
489
} ;
494
490
495
491
plots . supplyDefaultsUpdateCalc = function ( oldCalcdata , newFullData ) {
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -153,26 +153,6 @@ describe('Test Plots', function() {
153
153
154
154
testSanitizeMarginsHasBeenCalledOnlyOnce ( gd ) ;
155
155
} ) ;
156
-
157
- it ( 'should sort base plot modules on fullLayout object' , function ( ) {
158
- var gd = Lib . extendDeep ( { } , require ( '@mocks/plot_types.json' ) ) ;
159
- gd . data . unshift ( { type : 'scattergl' } ) ;
160
- gd . data . push ( { type : 'splom' } ) ;
161
-
162
- supplyAllDefaults ( gd ) ;
163
- var names = gd . _fullLayout . _basePlotModules . map ( function ( m ) {
164
- return m . name ;
165
- } ) ;
166
-
167
- expect ( names ) . toEqual ( [
168
- 'splom' ,
169
- 'cartesian' ,
170
- 'gl3d' ,
171
- 'geo' ,
172
- 'pie' ,
173
- 'ternary'
174
- ] ) ;
175
- } ) ;
176
156
} ) ;
177
157
178
158
describe ( 'Plots.supplyLayoutGlobalDefaults should' , function ( ) {
You can’t perform that action at this time.
0 commit comments