tabloo icon indicating copy to clipboard operation
tabloo copied to clipboard

Jupyter Notebook

Open bgeorge96 opened this issue 5 years ago • 4 comments

I was wondering if you have any examples, or have used this tool within a Jupyter Notebook?

bgeorge96 avatar Oct 07 '19 18:10 bgeorge96

Yes, it should work just like from normal Python:

image

Executing the cell opens a new browser tab with:

image

There might be small issues related to terminating the web server, see #5. I have some ideas to improve that, I hope I find some time to work on it soon.

bluenote10 avatar Oct 07 '19 19:10 bluenote10

I love this tool - I've been playing around with it a bit locally and it works really nicely. However, I typically run Jupyter from a local webbrowser connected to a Jupyter server located inside a docker container (which has all of my libraries etc. installed inside) and I can't currently work out how to launch tabloo view() from my notebook and connect to it from my local machine - is this a usecase you have looked into at all? Many thanks! Jack

jackgillett101 avatar Nov 25 '19 08:11 jackgillett101

@jackgillett101 Do you see if tabloo establishes its web server properly? Perhaps server_logging=True and debug=True could tell this. Then the question is if you can in general access the port within you container?

Maybe we need to change this line to the standard host='0.0.0.0' to make it work in your case.

bluenote10 avatar Nov 25 '19 14:11 bluenote10

Hi! Were you able to make this work? I'm also using the "local browser + remote server" setting, and it would be nice to make this work

AndreaBarbon avatar Oct 28 '20 12:10 AndreaBarbon