Errors when `@jupyterlab/geojson-extension` and `jupyter-leaflet` are both enabled
See original GitHub issueNot sure where to report this issue as it is an interaction between
@jupyterlab/geojson-extension v0.18.1
jupyter-leaflet v0.10.1
using:
jupyter-lab --version
is 0.35.4
Individually both extensions work so long as the other one is disabled (I’m disabling at user level), but if both are enabled none work. They break with different error messages to the javascript console.
I’m not trying to use both in one notebook, separate notebooks
- Test notebook for GeoJSON
from IPython.display import GeoJSON
GeoJSON({
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-118.4563712, 34.0163116]
}
})
- Test notebook for ipyleaflet
from ipyleaflet import Map
Map(zoom=2)
Looks like some sort of vendor package clashing issue.
Links:
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
Recommended ways of debugging JupyterLab
At one point I was able to open a .geojson file and get a map ... `@jupyterlab/geojson-extension` and `jupyter-leaflet` are both enabled.
Read more >3.6. Introducing JupyterLab - IPython Cookbook
In a word, JupyterLab is a web-based, hackable IDE for data science and interactive computing. JupyterLab uses the exact same Notebook server and...
Read more >Extension Developer Guide - JupyterLab Documentation
Installing a prebuilt extensions does not require Node.js. An extension can be published both as a source extension on NPM and as a...
Read more >jupyter-leaflet | Yarn - Package Manager
The package now ships the JupyterLab extension automatically. · Add support for int data in Choropleth #539 · Add style_callback to GeoJSON/Choropleth/GeoData ...
Read more >ipyleaflet map not rendering in jupyter notebook on install
I received the same error while running Jupyter Notebook but restarting the kernel, and closing and reopening that file worked for me.
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 FreeTop 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
Top GitHub Comments
This is environment I’m testing in:
On first load there is this warning
then when displaying
Map
this is printed to js console@Kirill888 good debugging work and I like your solution.