httpgd icon indicating copy to clipboard operation
httpgd copied to clipboard

Client sidebar preview not fully updating for complex plots

Open nx10 opened this issue 3 years ago • 0 comments

Describe the bug

The preview images of the JS client do not fully update when a complex plot is drawn.

To Reproduce

n <- 1000
df <- data.frame(
  x=rnorm(n), 
  y=rnorm(n), 
  group=sample(1:4, n, replace=T), 
  color=sample(1:4, n, replace=T), 
  facet=sample(1:4, n, replace=T))
library(ggplot2)
ggplot(df, aes(x=x, y=y, group=group, color=color)) +
  geom_line() + facet_wrap(~ facet)

Expected behavior

The preview tiles should show a complete version of each plot.

Screenshots

chrome_kEtospTMWM

nx10 avatar Sep 19 '21 12:09 nx10