File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -805,10 +805,11 @@ plots.purge = function(gd) {
805
805
} ;
806
806
807
807
plots . style = function ( gd ) {
808
- var modulesWithErrorBars = gd . _modules . concat ( Plotly . ErrorBars ) ;
808
+ var _modules = gd . _modules ;
809
+
810
+ for ( var i = 0 ; i < _modules . length ; i ++ ) {
811
+ var _module = _modules [ i ] ;
809
812
810
- for ( var i = 0 ; i < modulesWithErrorBars . length ; i ++ ) {
811
- var _module = modulesWithErrorBars [ i ] ;
812
813
if ( _module . style ) _module . style ( gd ) ;
813
814
}
814
815
} ;
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ var d3 = require('d3');
13
13
14
14
var Color = require ( '../../components/color' ) ;
15
15
var Drawing = require ( '../../components/drawing' ) ;
16
+ var ErrorBars = require ( '../../components/errorbars' ) ;
16
17
17
18
18
19
module . exports = function style ( gd ) {
@@ -71,4 +72,6 @@ module.exports = function style(gd) {
71
72
// d3.select(this).selectAll('text')
72
73
// .call(Plotly.Drawing.textPointStyle,d.t||d[0].t);
73
74
} ) ;
75
+
76
+ s . call ( ErrorBars . style ) ;
74
77
} ;
Original file line number Diff line number Diff line change 12
12
var d3 = require ( 'd3' ) ;
13
13
14
14
var Drawing = require ( '../../components/drawing' ) ;
15
+ var ErrorBars = require ( '../../components/errorbars' ) ;
15
16
16
17
17
18
module . exports = function style ( gd ) {
@@ -34,4 +35,6 @@ module.exports = function style(gd) {
34
35
35
36
s . selectAll ( 'g.trace path.js-fill' )
36
37
. call ( Drawing . fillGroupStyle ) ;
38
+
39
+ s . call ( ErrorBars . style ) ;
37
40
} ;
You can’t perform that action at this time.
0 commit comments