[IPython-dev] Multi-Dashboard

Derek O'Connell doc at doconnel.f9.co.uk
Mon Nov 11 18:41:27 EST 2013


I'm running multiple local NB servers and want to see all the dashboards 
in one page. The obvious thing to do is to create a notebook using 
iframes to contain each dashboard. Seems to work but should I expect any 
problems? Here's the code I'm using:

from IPython.display import HTML

iframe = '<iframe src=http://127.0.0.1:{}/ width=100% 
height=800></iframe><br>'
ports = [8888,8889]

frames = ''.join(iframe.format(p) for p in ports)
HTML(frames)



More information about the IPython-dev mailing list