Skip to content

scale_y_log10() alters tooltip values in ggplotly #804

Closed
@kurtosis

Description

@kurtosis

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()
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions