-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to render xarray_leaflet with voila? E.g. $ voila xarray_interact.ipynb #37
Comments
Hi Wietze, thanks for opening this issue. |
I tried several tools and ideas that I found on the web : the one that stands out are the following : from notebook import notebookapp
servers = list(notebookapp.list_running_servers())
print(servers) [{u'base_url': u'/',
u'hostname': u'localhost',
u'notebook_dir': u'/Users/username/your/notebook/path',
u'pid':123,
u'port': 8888,
u'secure': False,
u'url': u'http://localhost:8888/'},
...
{u'base_url': u'/',
u'hostname': u'localhost',
u'notebook_dir': u'/Users/username/your/other/notebook/path',
u'pid': 1234,
u'port': 8889,
u'secure': True,
u'url': u'http://localhost:8889/'}] which give a proper base_url but I cannot get how to know which one is the currently used. There is also ipyparams that is mainly a wrapper for all the javascripts hack i've seen on the web
|
@12rambau when voila renders, you can read the
|
See #45 |
Hi,
Recently, I've been looking into xarray-leaflet. It's an exciting project, thanks for all the great work!
Would you know how to render the map directly through voila?
It works when navigating to voila through Jupyter (i.e. voila/render/notebook.ipynb) (Figure A). However, $ voila xarray_interact.ipynb does not render the data on the map for me (Figure B).
Figure: A) rendering voila through the Jupyter interface or B) with voila.
Notebook example to reproduce the issue xarray_interact.ipynb.zip
Thanks
The text was updated successfully, but these errors were encountered: