tmap
tmap copied to clipboard
tmap in view mode display blank in Jupyter, which leaflet R behave normal
I think this may be a bug, I using Jupyter notebook with IRkernel, when output view mode map, the nodebook display nothing.
@liweiwp can you add a reproducible example?
@Nowosad Above is my try in Jupyter using tmap. I have try several times, still cannot get that work.
Don't know yet. I tried, but even your leaflet code chunk didn't work for me. You could try this:
x <- tmap_leaflet(qtm(World))
print(x)
Please reopen the issue if the problem still occurs.
Don't know yet. I tried, but even your leaflet code chunk didn't work for me. You could try this:
x <- tmap_leaflet(qtm(World)) print(x)
@mtennekes, it does not solve the problem (i.e. displaying as blank as in the other examples). @liweiwp's example still does not work. This issue should not be closed
+1 I run into this issue as well. I'm trying to get it to work for the gds_env
, it'd be super cool to have that working!
Could depend on your used browser, if I run my notebook in Firefox the cell executes successfully without warnings etc., however the interactive map does not appear. If I run it in Chrome everything works and the leaflet map appears.
Just a quick note that:
library(tmap)
data("World")
x <- tmap_leaflet(qtm(World))
x
works as expected on the gds_env
in JupyterLab and correctly renders an interactive map. This works in Chrome and Firefox now, and it's amazing!