plotly.js
plotly.js copied to clipboard
[BUG]: Weird behavior x-axis with log scale
Description
I have a scatter plot with 2 series, using layout.xaxis.type = 'log'.
I have two annotations, on which I applied log10 (cf. https://github.com/plotly/plotly.py/issues/2580).
One is properly showing, while the other one seems to misplace annotations and series.
I've noticed the following:
- Removing the annotations makes it work
- Removing 1 digit for precision for annotations makes it work. More generally, reducing precision makes it work, but I'm unsure if it's a matter of luck or something I can rely on.
Screenshots/Video
Please see codepens below.
Steps to reproduce
Notes
None