Folium maps not showing up on jupyter notebook uploaded on github

Viewed 1534

I have successfully rendered folium maps on my jupyter notebook by increasing the data limit when launching jupyter from anaconda prompt like this:

"jupyter notebook --NotebookApp.iopub_data_rate_limit=1.0e10"

However, when I have uploaded the notebook to Github, rather than the map I had processed, I got a blank window.

How can I render these maps? Is it possible to increase the data_rate_limit on the notebook when it is being launched through github?

1 Answers

If there's any Javascript in Folium maps, it will not render on GitHub. For security reasons, GitHub does not execute any javascript while rendering notebooks.

From GitHub docs,

The interactive features of the notebook, such as custom JavaScript plots, will not work in your repository on GitHub

Related