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.

annotations aren't plotted properly on log axes

See original GitHub issue

Looks like annotations don’t show up at the expected coordinates when axes are type: 'log'

example: http://codepen.io/plotly/pen/dOwRyG

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
etpinardcommented, Dec 16, 2016

Unfortunately. you have to Math.log the x/y position http://codepen.io/etpinard/pen/oYJwLx

You shouldn’t have to do this, but there’s no way for us to fix this is in a backward compatible way.

2reactions
orenbenkikicommented, Sep 10, 2019

I actually suggested adding a value to the ref attributes: xref='X' or xref='x!' or xref='x_with_transformations' or something along these lines. Adding a new attribute might be cleaner, though.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Matplotlib annotate doesn't work on log scale?
When I plot my data on the regular scale, it works. But then I change at least one of the scales to log...
Read more >
I have a code which is definitely correct, but the loglog ...
Learn more about for loop, plot, plotting. ... I have a code which is definitely correct, but the loglog graph wont work properly....
Read more >
Violin Plots and Logarithmic Axes - FAQ 2183
When considering a violin plot that has been graphed on a logarithmic Y axis, there are two important issues that must be considered....
Read more >
Scatter plots with logarithmic axes...and how to handle ...
This article shows several ways to create a scatter plot with ... However, the log function is properly restricted to positive data, ...
Read more >
THE ANNOTATION SCALE IS NOT EQUAL TO THE PLOT ...
p.s. When i am in the layout mode and I try to plot, I dont get this ... your annotative text and dimensions...
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