question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

BUG: range is wrong if layout.axis.type == 'log'

See original GitHub issue

plotlyjs_bug_range numbers in log

As you can see, the range I’m getting for the y axis min: plotlyDiv._fullLayout.yaxis.range[0] max: plotlyDiv._fullLayout.yaxis.range[1]

Is wrong when the axis.type is ‘log’ unless there’s a conversion I’m not aware of

codepen: http://codepen.io/destrada/pen/qrGJwq

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
etpinardcommented, Apr 7, 2017

@destradafilm I was just going to write that.

That log10 conversion is unfortunate, but there’s no way for us to fix it in a backward-compatible way.

This is essentially the same issue as https://github.com/plotly/plotly.js/issues/1258 that we’re planing on fixing in v2. Thanks for posting.

0reactions
oricoucommented, Sep 5, 2018

ok thanks. Any date for version 2? I couldn’t find any roadmap…

Read more comments on GitHub >

github_iconTop Results From Across the Web

annotations aren't plotted properly on log axes #1258 - GitHub
Looks like annotations don't show up at the expected coordinates when axes are type: 'log' example: http://codepen.io/plotly/pen/dOwRyG.
Read more >
Problem - 2nd Y axis and log display of x axis
On the Layout tab of the ribbon (under Chart Tools), click Axes > Secondary Horizontal Axis > Show Axis with Log Scale. ---...
Read more >
Horizontal box plots log scale incorrect layout - Plotly Python
Hi, I am having a hard time with box plots and the logarithmic scale. I think there is a bug when plotting horizontal...
Read more >
X_axis_type="log" not working - Bokeh Discourse
I'm trying to plot some lines on a plot with both axis in log scale. What have you tried that did NOT work...
Read more >
Fixing x-range not working in plotly.js - Stack Overflow
If I set autorange: false in the layout object, the plot fails. The x-axis values and ticks are all messed up. Why is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found