Comments (5)
I advise not using the Classic Notebook, which is deprecated in favor of JupyterLab or RetroLab.
If you want to use the Classic Notebook, you need to pass a get_base_url
argument like this:
def get_base_url(url):
return "http://localhost:8888"
l = da.leaflet.plot(m, get_base_url=get_base_url)
from xarray_leaflet.
Indeed you are right, forget what I said about implementing this hack I will just move on to Lab and wait for the features to come. Merci pour vos réponses et bonne soirée.
from xarray_leaflet.
Could you please elaborate on how does this applies to the jupyter notebook use-case ? I just ran the introduction notebook with a freshly created environment as you specidified in #39 and still have no data on the map. Many thanks in advance.
from xarray_leaflet.
Thanks for the hack, it works !
I do not even understand how since my notebook is running on http://localhost:8892/
and not on 8888
.
Regarding the use of Classic Notebook or Lab there are still features that are present on one platform and missing on the other, e.g. "highlight selected word" that is still not implemented on Lab but present in Classic Notebooks see this issue. I guess there are other examples if considering all jupyter nbextensions. Notebooks are still popular.
Anyway, thanks again for the hack and if you need, I would be happy to contribute to implement it.
from xarray_leaflet.
I do not even understand how since my notebook is running on
http://localhost:8892/
and not on8888
Yes, this is strange 👀
Regarding the use of Classic Notebook or Lab there are still features that are present on one platform and missing on the other
That's true, but nobody is working on the Classic Notebook so it will die eventually.
Anyway, thanks again for the hack and if you need, I would be happy to contribute to implement it.
Implement what?
from xarray_leaflet.
Related Issues (20)
- can't see data on map HOT 3
- Default CRS and nodata
- Interact with extra dimensions
- How to render xarray_leaflet with voila? E.g. $ voila xarray_interact.ipynb HOT 4
- Attribute error on open_rasterio function
- No data display HOT 5
- No data display HOT 10
- 'LeafletMap' object has no attribute 'base_url' in JupyterLab HOT 6
- are you considering releasing the colormap ? HOT 2
- Zarr support HOT 20
- Colorbar does not show if dynamic=False
- Renamed default branch to main
- DataArrays that aren't in lat-lon co-ordinates: are they supported? HOT 3
- is it possible to filter out some values when using the plot function ?
- Extra install for vector support
- Hierarchical arrays
- module 'xarray.core' has no attribute 'rolling' HOT 1
- Installing xarray-leaflet causes jupyter server to be really slow to start HOT 9
- LocalTileLayer does not appear on map HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xarray_leaflet.