-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Log bar autorange fix #1475
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Log bar autorange fix #1475
Conversation
} | ||
} | ||
maybeExpand(barTop); | ||
maybeExpand(barBase); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
very nice simplification.
}); | ||
|
||
var ya = gd._fullLayout.yaxis; | ||
expect(Axes.getAutoRange(ya)).toBeCloseToArray([1.496, 2.027], undefined, '(ya.range)'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice tests! I wouldn't be opposed to adding a bar log image test too if you're up for it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could be nice, but for now I think I'd better move on.
💃 image test or not. Thanks a lot! That would have taken me at least a full day to go fix this. |
fixes #1352 - makes autorange work with bar traces on log axes
@etpinard please review