Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

Scale_y_log10() alters tooltip values in ggplotly

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’

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