-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
annotations aren't plotted properly on log axes #1258
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
Comments
Unfortunately. you have to You shouldn't have to do this, but there's no way for us to fix this is in a backward compatible way. |
@etpinard Your solution is wrong ,, you must use: Math.log(x)/ Math.log(10) because Math.log is base E. |
or use thanks @ricardovb |
The same Bug on Plotly for R. Solved in the same way. Thank you! |
Ran into this today - thanks for the workaround! |
Another option occurred to me while responding to @orenbenkiki's suggestion plotly/dash#916 (comment) - we could imagine adding a new axis attribute like |
I actually suggested adding a value to the |
The above suggestions of using the log of the value to make the annotation do not work either when using log axes and adding an hline with annotation:
|
Here is another example of how poorly log coordinates work: |
Seems like this example is broken by now. |
Oh that example is using the wrong flavor of log, should be log10 https://codepen.io/alexcjohnson/pen/yLGPgdE - thanks @Turakar |
Looks like annotations don't show up at the expected coordinates when axes are
type: 'log'
example: http://codepen.io/plotly/pen/dOwRyG
The text was updated successfully, but these errors were encountered: