plotly.R icon indicating copy to clipboard operation
plotly.R copied to clipboard

Implement geom_GeomDensity2dFill

Open stephanmg opened this issue 2 years ago • 1 comments

Contours of 2D density estimates would be very helpful in my Shiny application I'm developing which soon should be published. We would like to use plotly.

Brief description of the problem:

Warning in geom2trace.default(dots[[1L]][[60L]], dots[[2L]][[1L]], dots[[3L]][[1L]]) :
  geom_GeomDensity2dFilled() has yet to be implemented in plotly.
  If you'd like to see this geom implemented,
  Please open an issue with your example code at
  https://github.com/ropensci/plotly/issues

Create plot with geom_density_2d_filled and this has not yet been implemented.

p <- ggplot(df, aes(Y_cm, X_cm)) + geom_density_2d_filled(contour_var="ndensity") 

stephanmg avatar Jun 12 '23 14:06 stephanmg

I do not understand this issue, if I run it outside of Shiny/R the plot is produced fine.

stephanmg avatar Feb 22 '24 16:02 stephanmg