4

A football addiction confession and club fan catchments

Using Voronoi polygons to calculate fan catchments for 89 English football clubs

A football addiction confession and english club fan catchments.ipynb
Loading notebook (6.95 MB)

Newsletter

Get the best new Kyso studies in your inbox every week.

Enter your email here

Comments

eoin

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

tolliam

Very helpful - thank you!

eoin
tolliam

How strange - it is displaying for me properly on Safari and Firefox...

eoin

On nbviewer? does it work for you in chrome?

eoin

yup - works for me in safari on kyso and nbviewer - must be an issue with the folium plot so I think?

eoin

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')
tolliam

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.

eoin

Not sure why the map isn't coming up for me - I'm working on fixing that now