Using Voronoi polygons to calculate fan catchments for 89 English football clubs
If you add a kyso.yaml file with the main file specified it should help a lot https://kyso.io/docs/file/connect-github/Readme.md#Configuration
Very helpful - thank you!
Maybe its something with the notebook - it doesnt work on nbviewer either
https://nbviewer.jupyter.org/github/tolliam/football-club-fan-catchments/blob/master/A%20football%20addiction%20confession%20and%20english%20club%20fan%20catchments.ipynb
maybe the map is just very very large
How strange - it is displaying for me properly on Safari and Firefox...
On nbviewer? does it work for you in chrome?
yup - works for me in safari on kyso and nbviewer - must be an issue with the folium plot so I think?
Seems its a known folium issue - https://github.com/python-visualization/folium/issues/812
maybe mention at the top of the post to tell the reader to open in safari or firefox?
there is also a proposed solution in that thread - save the map as html files and then embed
1 2 3 4 5 def embed_map(m): from IPython.display import IFrame m.save('index.html') return IFrame('index.html', width='100%', height='750px')
1 2 3 4 5
def embed_map(m): from IPython.display import IFrame m.save('index.html') return IFrame('index.html', width='100%', height='750px')
Thanks so much for your help. I tried using this fix but then it would not display in Kyso. I have reverted back and put a note at the top.
Not sure why the map isn't coming up for me - I'm working on fixing that now
Comments
If you add a kyso.yaml file with the main file specified it should help a lot https://kyso.io/docs/file/connect-github/Readme.md#Configuration
Very helpful - thank you!
Maybe its something with the notebook - it doesnt work on nbviewer either
https://nbviewer.jupyter.org/github/tolliam/football-club-fan-catchments/blob/master/A%20football%20addiction%20confession%20and%20english%20club%20fan%20catchments.ipynb
maybe the map is just very very large
How strange - it is displaying for me properly on Safari and Firefox...
On nbviewer? does it work for you in chrome?
yup - works for me in safari on kyso and nbviewer - must be an issue with the folium plot so I think?
Seems its a known folium issue - https://github.com/python-visualization/folium/issues/812
maybe mention at the top of the post to tell the reader to open in safari or firefox?
there is also a proposed solution in that thread - save the map as html files and then embed
1 2 3 4 5
def embed_map(m): from IPython.display import IFrame m.save('index.html') return IFrame('index.html', width='100%', height='750px')
Thanks so much for your help. I tried using this fix but then it would not display in Kyso. I have reverted back and put a note at the top.
Not sure why the map isn't coming up for me - I'm working on fixing that now