You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I make a graphic with logarithmic colour scaling, the tooltip only shows the logged value, rather than the original value that is more meaningful in the context
.
It's similar to #804 , which dealt with transformed axes.
The text was updated successfully, but these errors were encountered:
kojisposts
changed the title
scale
scaling colours alters tooltip values in ggplotly
Jul 16, 2019
kojisposts
changed the title
scaling colours alters tooltip values in ggplotly
log-scaled colour schemes don't show up properly
Aug 2, 2019
cpsievert
changed the title
log-scaled colour schemes don't show up properly
ggplotly tooltip shows transformed (instead of original) value
Aug 12, 2019
library(plotly)
english_french <- read.csv("https://raw.githubusercontent.com/plotly/datasets/master/english_french.csv",
stringsAsFactors = FALSE)
p <- ggplot(english_french, aes(x=engperc,y=frenperc, weight=total)) +
geom_bin2d() +
scale_fill_gradient(low="lightblue1",high="darkblue",trans="log10") +
labs(title = "Distribution of the Canadian population by English and French fluency",
x = "% fluent in English",
y = "% fluent in French",
fill = "# of people")
ggplotly(p)
If I make a graphic with logarithmic colour scaling, the tooltip only shows the logged value, rather than the original value that is more meaningful in the context

.
It's similar to #804 , which dealt with transformed axes.
The text was updated successfully, but these errors were encountered: