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
Same issue as #2357 and #5926. Same minimal reproducible example still throws up the errors:
Warning in min(x, na.rm = na.rm) :
no non-missing arguments to min; returning Inf
Warning in max(x, na.rm = na.rm) :
no non-missing arguments to max; returning -Inf
Warning: Error in [.data.frame: undefined columns selected
Same issue as #2357 and #5926. Same minimal reproducible example still throws up the errors:
Warning in min(x, na.rm = na.rm) :
no non-missing arguments to min; returning Inf
Warning in max(x, na.rm = na.rm) :
no non-missing arguments to max; returning -Inf
Warning: Error in [.data.frame: undefined columns selected
library(ggplot2)
library(plotly)
xy_grid <- expand.grid(ps=seq(-1,3, length=100),
trs=seq(-1,3,length=100))
xy_grid$ptl <- xy_grid$ps^2 + xy_grid$trs^2
theme_set(theme_bw())
g1 <- ggplot(xy_grid) +
geom_raster(aes(y=ps,x=trs,fill=ptl), interpolate = TRUE) +
geom_contour(aes(y=ps,x=trs,z=ptl), breaks = c(2,4,6,8,10), color='black')
this works
ggplotly(g1)
adding scale_fill_binned
g2 <- g1 + scale_fill_binned(low = 'red', high = 'green', breaks = c(2,4,6,8,10))
this does not work
ggplotly(g2)
The text was updated successfully, but these errors were encountered: