Skip to content

Commit dd3ac6e

Browse files
committed
do not try to reset scale to avoid infinite loops
1 parent 3c5d208 commit dd3ac6e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/plots/cartesian/axes.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3205,6 +3205,8 @@ axes.drawLabels = function(gd, ax, opts) {
32053205
var anchorAx = ax._anchorAxis;
32063206
if(
32073207
anchorAx && anchorAx.autorange &&
3208+
!anchorAx.matches && !ax.matches &&
3209+
!anchorAx.scaleanchor && !ax.scaleanchor &&
32083210
(ax.ticklabelposition || '').indexOf('inside') !== -1
32093211
) {
32103212
if(!fullLayout._insideTickLabelsAutorange) {
-9.77 KB
Loading

0 commit comments

Comments
 (0)