Closed maciejb closed 5 years ago
We should update the documentation to use an in-memory variable assignment as opposed to a flat file export. The web servers that run various Jupyter environments have various configurations (cors
settings, relative file paths, etc) that can cause issues with referencing a locally exported file.
Thanks for flagging this @maciejb
same here
Encountering this too, I was only able to get it to work with c.NotebookApp.disable_check_xsrf = True
, which is not recommended for security reasons.
Launching notebook jupyter notebook --NotebookApp.disable_check_xsrf=True
also worked for me.
Closed with PR #170 - will roll into a new release in the next week.
I tried running the examples as shown in the docs, e.g. the CircleViz in the README, and the result is a blank map (tiles but no markers).
Looking at the Jupyter logs:
This can easily be worked around by storing the
df_to_geojson()
to a variable instead of a file, and reading that variable when creating the viz.Tried with a few different browsers and both a local and remote notebook server. Is this an issue that can be resolved in the mapboxgl module, or should the documentation be changed?