Bokeh keep open a new tab
See original GitHub issueHi guys, when I’m using a simple pandas plotting with bokeh, it keeps opening a new tab as I run the plot. When I combined with the slider interact ipython html widgets, as I do sliding, the bokeh will keep open a new tab. I’m using ipython notebook, chrome browser, and OSX Yosemite 10.10.2. I can reproduce this issue using different computer.
Library used:
- Bokeh : 0.8.2
- Pandas : 0.16.0
- Numpy : 1.9.2
- IPython 3.1.0
- Python 2.7.9
from bokeh import mpl
import bokeh.plotting as bk
import pandas as pd
import numpy as np
from IPython.html.widgets import interact
bk.output_notebook()
def update(n=5):
pd.Series(np.arange(n)).plot()
bk.show(mpl.to_bokeh(notebook=True))
interact(update,n=(3,10))
Issue Analytics
- State:
- Created 8 years ago
- Comments:12 (7 by maintainers)
Top Results From Across the Web
Bokeh keep open new tab - Community Support
Hi guys, I'm trying to use pandas plotting and bokeh. But it keeps opening a new tab. Here's my code, I make this...
Read more >How to stop bokeh from opening a new tab in Jupyter ...
You need to call output_notebook at the top of your notebook, but only call output_notebook . If you call output_file at all, that...
Read more >Tabbed Layout With Panels - Real Python
A tabbed layout consists of two Bokeh widget functions: Tab() and Panel() from the bokeh.models.widgets sub-module. Like using gridplot() , making a tabbed ......
Read more >Deploying Bokeh Apps — HoloViews v1.15.3
In this guide we will cover how we can deploy a Bokeh app from a HoloViews plot in a number of different ways:...
Read more >Adding Interactions - Bokeh documentation
Use bokeh serve to start the Bokeh server and set up event handlers with .on_change ... For the other widgets with .on_click ,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

#This resets the output to notebook in case you set it to a file before otherwise both are opened
from bokeh.plotting import figure, show, output_notebook, reset_output
reset_output() output_notebook()
@veltzerdoron the GH issue tracker is not the appropriate place for general support or usage questions, please go to the public mailing list:
https://groups.google.com/a/continuum.io/forum/#!forum/bokeh