-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Create HeatMap as suggested in #213 #224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
You are on 🔥 this week! |
🎵 Hurray ! It's holy-holyday ! 🎵 |
Oh yahhhh! 👍 🎉 |
Parameters | ||
---------- | ||
data : list of points of the form [lat, lng, weight] | ||
The point you want to plot. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's support 3D numpy as well. We can listify them internally.
Question: In your test example you pass a 2D array and things work. I guess that we should raise an error instead, no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the js library accepts arrays of shape (n,2) and (n,3) ; so we shall do the same thing. A new commit just do that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the js library accepts arrays of shape (n,2) and (n,3) ; so we shall do the same thing.
OK. If the JS support let's do that then... But what is the reason? I confess I just glimpsed over the docs, but I could not find a rational for that.
It is all good to me. Just a minor typo and then good to go! Thanks for the great work @BibMartin! |
accept numpy.array in HeatMap Fix typo
typo fixed ; commits squashed ... |
Create HeatMap as suggested in #213
And merged! |
Amazing work @BibMartin, just used your HeatMap plugin to generate a pretty map of geolocalized data. Thank you! |
Hi @jackboot7 consider sending your notebook to our "gallery." |
@ocefpaf: Sure, I'll do it as soon as I'm done with my program. |
Thanks 👍 |
@ocefpaf How would you prefer that I share my usage of Folium with you, guys? I made a blog post about the my use case (http://www.jackboot7.com/visualizing-tweets.html ) |
The blog reference is fine. We don't have a list of use cases right now but I want to start one. However, if you find the time it would be nice to get a PR with that notebook in our examples folder: https://github.com/python-visualization/folium/tree/master/examples |
Using https://github.com/Leaflet/Leaflet.heat