On Mar 28, 2017, at 06:26, Darragh Van Tichelen <darragh.ssa@gmail.com> wrote:
Some more testing and I found out that instead of plots.children.remove or .pop everything keeps working if I first pop the figure and then append it again to the list.
Still no idea how to make it disappear though.
Op maandag 27 maart 2017 17:58:44 UTC+2 schreef Darragh Van Tichelen:
Hi,
on previous feedback I managed to get my app to dynamically at runtime add plots to a webpage and update them realtime.
I also want to remove plots from the page, which is working with mixed success. The plot effectively goes away, but everything else stops working as well.
If I comment line 76 in plot.py · GitHub, the plot goes away and everything keeps running but I have no useful plot as no data ever gets put on it.
So the datasource.stream() function somehow breaks everything if I remove a plot but it throws no exception or whatsoever so I have no idea how to solve it.
My main python process has an active event loop in which it sometimes initializes a Plot of the previously mentioned file and calls update on it.
When the plot is no longer relevant it calls the plot.remove_plot() method.
Any ideas would be great,
thanks in advance.
--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/691b8522-9551-4407-bf51-e3125f449c4f%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.