@@ -1294,6 +1294,7 @@ function _restyle(gd, aobj, _traces) {
1294
1294
'autobinx' , 'nbinsx' , 'xbins' , 'xbins.start' , 'xbins.end' , 'xbins.size' ,
1295
1295
'autobiny' , 'nbinsy' , 'ybins' , 'ybins.start' , 'ybins.end' , 'ybins.size' ,
1296
1296
'autocontour' , 'ncontours' , 'contours' , 'contours.coloring' ,
1297
+ 'contours.operation' , 'contours.value' , 'contours.type' , 'contours.value[0]' , 'contours.value[1]' ,
1297
1298
'error_y' , 'error_y.visible' , 'error_y.value' , 'error_y.type' ,
1298
1299
'error_y.traceref' , 'error_y.array' , 'error_y.symmetric' ,
1299
1300
'error_y.arrayminus' , 'error_y.valueminus' , 'error_y.tracerefminus' ,
@@ -1311,9 +1312,31 @@ function _restyle(gd, aobj, _traces) {
1311
1312
'line.showscale' , 'line.cauto' , 'line.autocolorscale' , 'line.reversescale' ,
1312
1313
'marker.line.showscale' , 'marker.line.cauto' , 'marker.line.autocolorscale' , 'marker.line.reversescale' ,
1313
1314
'xcalendar' , 'ycalendar' ,
1314
- 'cumulative' , 'cumulative.enabled' , 'cumulative.direction' , 'cumulative.currentbin'
1315
+ 'cumulative' , 'cumulative.enabled' , 'cumulative.direction' , 'cumulative.currentbin' ,
1316
+ 'a0' , 'da' , 'b0' , 'db' , 'atype' , 'btype' ,
1317
+ 'cheaterslope' , 'carpet' , 'sum' ,
1315
1318
] ;
1316
1319
1320
+ var carpetAxisAttributes = [
1321
+ 'color' , 'smoothing' , 'title' , 'titlefont' , 'titlefont.size' , 'titlefont.family' ,
1322
+ 'titlefont.color' , 'titleoffset' , 'type' , 'autorange' , 'rangemode' , 'range' ,
1323
+ 'fixedrange' , 'cheatertype' , 'tickmode' , 'nticks' , 'tickvals' , 'ticktext' ,
1324
+ 'ticks' , 'mirror' , 'ticklen' , 'tickwidth' , 'tickcolor' , 'showticklabels' ,
1325
+ 'tickfont' , 'tickfont.size' , 'tickfont.family' , 'tickfont.color' , 'tickprefix' ,
1326
+ 'showtickprefix' , 'ticksuffix' , 'showticksuffix' , 'showexponent' , 'exponentformat' ,
1327
+ 'separatethousands' , 'tickformat' , 'categoryorder' , 'categoryarray' , 'labelpadding' ,
1328
+ 'labelprefix' , 'labelsuffix' , 'labelfont' , 'labelfont.family' , 'labelfont.size' ,
1329
+ 'labelfont.color' , 'showline' , 'linecolor' , 'linewidth' , 'gridcolor' , 'gridwidth' ,
1330
+ 'showgrid' , 'minorgridcount' , 'minorgridwidth' , 'minorgridcolor' , 'startline' ,
1331
+ 'startlinecolor' , 'startlinewidth' , 'endline' , 'endlinewidth' , 'endlinecolor' ,
1332
+ 'tick0' , 'dtick' , 'arraytick0' , 'arraydtick' , 'hoverformat' , 'tickangle'
1333
+ ] ;
1334
+
1335
+ for ( i = 0 ; i < carpetAxisAttributes . length ; i ++ ) {
1336
+ recalcAttrs . push ( 'aaxis.' + carpetAxisAttributes [ i ] ) ;
1337
+ recalcAttrs . push ( 'baxis.' + carpetAxisAttributes [ i ] ) ;
1338
+ }
1339
+
1317
1340
for ( i = 0 ; i < traces . length ; i ++ ) {
1318
1341
if ( Registry . traceIs ( fullData [ traces [ i ] ] , 'box' ) ) {
1319
1342
recalcAttrs . push ( 'name' ) ;
@@ -1657,9 +1680,14 @@ function _restyle(gd, aobj, _traces) {
1657
1680
doextra ( axlist . map ( rangeAttr ) , [ 0 , 1 ] , 0 ) ;
1658
1681
}
1659
1682
flags . docalc = true ;
1683
+
1684
+ } else if ( replotAttrs . indexOf ( aiAboveArray ) !== - 1 ) {
1685
+ flags . doplot = true ;
1686
+ } else if ( aiAboveArray . indexOf ( 'aaxis' ) === 0 || aiAboveArray . indexOf ( 'baxis' ) === 0 ) {
1687
+ flags . doplot = true ;
1688
+ } else if ( autorangeAttrs . indexOf ( aiAboveArray ) !== - 1 ) {
1689
+ flags . docalcAutorange = true ;
1660
1690
}
1661
- else if ( replotAttrs . indexOf ( aiAboveArray ) !== - 1 ) flags . doplot = true ;
1662
- else if ( autorangeAttrs . indexOf ( aiAboveArray ) !== - 1 ) flags . docalcAutorange = true ;
1663
1691
}
1664
1692
1665
1693
// do we need to force a recalc?
0 commit comments