jupyter-book icon indicating copy to clipboard operation
jupyter-book copied to clipboard

[Bug]: ipyleafmap map does not show

Open palec87 opened this issue 7 months ago • 0 comments

What happened, and what did you expect to happen?

I have leafmap and ipywidgets working locally. I deploy with actions using

myst build --execute --html

ipywidgets work, but map does not render in the book

from ipyleaflet import Map, Marker

center = (48.866667, 2.333333)
map = Map(center=center, zoom=12)

display(map)

If I launch NB on jupyter, leafmap renders fine. In summary, ipyleafmap breaks only for deployed book execution. Any ideas how to fix that? Cheers

https://github.com/palec87/jupyterbook-test/blob/main/book/02-executable-code/02-notebook.ipynb

What version of Jupyter Book are you running?

v2.0.0-a3

What Operating System are you using?

Linux

Relevant log output

Win and LInux behave the same.

palec87 avatar Apr 17 '25 15:04 palec87