daattali / ggExtra

📊 Add marginal histograms to ggplot2, and more ggplot2 enhancements
http://daattali.com/shiny/ggExtra-ggMarginal-demo/
Other
383 stars 45 forks source link

Addin: errors messages in console #159

Closed daattali closed 3 years ago

daattali commented 3 years ago

These messages did not used to exist but now when I run

plot <- ggplot2::ggplot(mtcars, ggplot2::aes(wt, mpg)) + ggplot2::geom_point()
plot2 <- ggMarginalGadget(plot)

I see

Warning: Error in graphics::plot.new: figure margins too large
  132: graphics::plot.new
  129: startPNG
  128: drawPlot
  114: <reactive:plotObj>
   98: drawReactive
   85: renderFunc
   84: output$plot
    4: shiny::runApp
    3: runGadget
    2: ggMarginalGadgetHelper [C:/Users/Dean-X1C/Documents/R/ggExtra/R/ggMarginalGadget.R#360]
    1: ggMarginalGadget [C:/Users/Dean-X1C/Documents/R/ggExtra/R/ggMarginalGadget.R#25]