sje30 / essgd

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adding to a plot doesn't update it

lgatto opened this issue · comments

  1. Produce a plot with plot(rnorm(100), pch = 19)
  2. Adding a title with title("My plot") doesn't update the plot in the essgd buffer
  3. Need to navigate to the previous plot and back to see the actual addition to the figure

Also applies to vertical/horizontal lines using abline(), adding a grid with grid(), or adding a legend().

Thanks Laurent. Can confirm. I think I have an idea what's going on.

Thanks!

I think my change was too simplistic. Although it fixes your problem, it now always just shows the latest plot; you cannot go back through the history to earlier plots.

I think the solution is to monitor the value of upid from the web socket, which I've to date ignored.