Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Updated Bokeh to 0.5.0, now plots all previous versions of graph in one window

Tags:

python

plot

bokeh

Before I updated, I would run my script and output the html file. There would be my one plot in the window. I would make changes to my script, run it, output the html file, look at the new plot. Then I installed the library again to update it using conda. I made some changes to my script, ran it again, and the output file included both the plot before I made some changes AND a plot including the changes. I ran the script again out of curiosity. Three plots in the one file! Ran it again. Four! Deleted the html file (instead of overwriting). Five! Changed the name of the output html file. Six! I even tried changing the name of the script. The plots just keep piling up.

What's going on? Why is it plotting every version of the graph I've ever made?

like image 654
oregano Avatar asked Jul 14 '14 14:07

oregano


1 Answers

are you running in a notebook? Or are you running "python myscript.py" several times? If the latter, I don't see how that's possible, but it would definitely be a bug. Can you post your script or a minimal example? If you make an issue on the Bokeh GH issue tracker we can take a look as well. https://github.com/ContinuumIO/bokeh/issues?labels=&page=1&state=open

like image 96
bigreddot Avatar answered Nov 13 '22 15:11

bigreddot