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) {
805805} ;
806806
807807plots . 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 ] ;
809812
810- for ( var i = 0 ; i < modulesWithErrorBars . length ; i ++ ) {
811- var _module = modulesWithErrorBars [ i ] ;
812813 if ( _module . style ) _module . style ( gd ) ;
813814 }
814815} ;
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ var d3 = require('d3');
1313
1414var Color = require ( '../../components/color' ) ;
1515var Drawing = require ( '../../components/drawing' ) ;
16+ var ErrorBars = require ( '../../components/errorbars' ) ;
1617
1718
1819module . exports = function style ( gd ) {
@@ -71,4 +72,6 @@ module.exports = function style(gd) {
7172 // d3.select(this).selectAll('text')
7273 // .call(Plotly.Drawing.textPointStyle,d.t||d[0].t);
7374 } ) ;
75+
76+ s . call ( ErrorBars . style ) ;
7477} ;
Original file line number Diff line number Diff line change 1212var d3 = require ( 'd3' ) ;
1313
1414var Drawing = require ( '../../components/drawing' ) ;
15+ var ErrorBars = require ( '../../components/errorbars' ) ;
1516
1617
1718module . exports = function style ( gd ) {
@@ -34,4 +35,6 @@ module.exports = function style(gd) {
3435
3536 s . selectAll ( 'g.trace path.js-fill' )
3637 . call ( Drawing . fillGroupStyle ) ;
38+
39+ s . call ( ErrorBars . style ) ;
3740} ;
You can’t perform that action at this time.
0 commit comments