Bokeh: save plot (as HTML) but don't show it

RandomCoder picture RandomCoder · Jul 22, 2015 · Viewed 16k times · Source

I am using Bokeh to produce HTML code including figures with show method This method ends on opening default browser with HTML opened in it.

I want to save the HTML code, without showing it. How can I do that ?

Answer

RandomCoder picture RandomCoder · Jul 22, 2015

Solution is to replace calls to show by calls to save.