What's the command to "reset" a bokeh plot?
<p>I have a bokeh figure that has a reset button in the toolbar. Basically, I want to "reset" the figure when I update the data that I'm plotting in the figure. How can I do that?</p>

<p>As of Bokeh <code>0.12.1</code> there is no built in function to do this. It would possible to make a <a href="http://bokeh.pydata.org/en/latest/docs/user_guide/extensions.html" rel="nofollow">custom extension</a> that does this. However, that would take a little work and experimentation and dialogue. If you'd like to pursue that option, I'd encourage you to come to the <a href="https://groups.google.com/a/continuum.io/forum/?pli=1#!forum/bokeh" rel="nofollow">public mailing list</a> which is better suited to iterative collaboration and discussion than SO. Alternatively, please feel free to open a feature request on the <a href="https://github.com/bokeh/bokeh/issues" rel="nofollow">project issue tracker</a></p>

python plot jupyter bokeh