@@ -1689,13 +1689,6 @@ exports.relayout = function relayout(gd, astr, val) {
1689
1689
// subroutine of its own so that finalDraw always gets
1690
1690
// executed after drawData
1691
1691
seq . push (
1692
- // TODO
1693
- // no test fail when commenting out doAutoRangeAndConstraints,
1694
- // but I think we do need this (maybe just the enforce part?)
1695
- // Am I right?
1696
- // More info in:
1697
- // https://github.com/plotly/plotly.js/issues/2540
1698
- subroutines . doAutoRangeAndConstraints ,
1699
1692
// TODO
1700
1693
// can target specific axes,
1701
1694
// do not have to redraw all axes here
@@ -2174,7 +2167,6 @@ exports.update = function update(gd, traceUpdate, layoutUpdate, _traces) {
2174
2167
if ( relayoutFlags . layoutstyle ) seq . push ( subroutines . layoutStyles ) ;
2175
2168
if ( relayoutFlags . axrange ) {
2176
2169
seq . push (
2177
- subroutines . doAutoRangeAndConstraints ,
2178
2170
subroutines . doTicksRelayout ,
2179
2171
subroutines . drawData ,
2180
2172
subroutines . finalDraw
@@ -2340,7 +2332,6 @@ exports.react = function(gd, data, layout, config) {
2340
2332
if ( relayoutFlags . layoutstyle ) seq . push ( subroutines . layoutStyles ) ;
2341
2333
if ( relayoutFlags . axrange ) {
2342
2334
seq . push (
2343
- subroutines . doAutoRangeAndConstraints ,
2344
2335
subroutines . doTicksRelayout ,
2345
2336
subroutines . drawData ,
2346
2337
subroutines . finalDraw
0 commit comments