Skip to content

scale_y_log10() alters tooltip values in ggplotly #804

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

Closed
kurtosis opened this issue Nov 21, 2016 · 1 comment
Closed

scale_y_log10() alters tooltip values in ggplotly #804

kurtosis opened this issue Nov 21, 2016 · 1 comment
Labels

Comments

@kurtosis
Copy link

If I transform an axis to log scale this alters the values that show up in the tooltip. For example, I get
'val=0.95' (i.e. log10(9)), rather than 'val=9'

library(plotly)
test=data.frame(index=c(1,2,3), val=c(9,14,2))
ggplotly(
ggplot(test, aes(x=index, y=val)) + geom_point() + scale_y_log10()
)

@titaniumtroop
Copy link

Same goes for scale_[xy]_sqrt()

library(plotly)
test=data.frame(index=c(1,2,3), val=c(9,14,2))
ggplotly(
ggplot(test, aes(x=index, y=val)) + geom_point() + scale_y_sqrt()
)

screen shot 2017-03-21 at 12 08 37

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants