Skip to content

Added weight option to CircleMarker #581

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

Merged
merged 9 commits into from
Dec 31, 2016
Merged

Added weight option to CircleMarker #581

merged 9 commits into from
Dec 31, 2016

Conversation

palewire
Copy link
Contributor

No description provided.

@ocefpaf
Copy link
Member

ocefpaf commented Dec 31, 2016

Looks good! Thanks!!

I guess you will need to update the test to incorporate the new kwarg.

@palewire
Copy link
Contributor Author

Yes. Sorry for the testing oversight. I am still getting the hang of this system. I will have a fix up shortly.

@ocefpaf
Copy link
Member

ocefpaf commented Dec 31, 2016

Yes. Sorry for the testing oversight. I am still getting the hang of this system. I will have a fix up shortly.

No problem. It is the holidays and I finally have some time for folium. So you are in luck that your PR got a quick review 😄

@palewire
Copy link
Contributor Author

The tests are now passing. Thank you for your patience.

@@ -753,6 +753,8 @@ class CircleMarker(Marker):
use Circle.
color: str, default 'black'
The color of the marker's edge in a HTML-compatible format.
weight: int, default 2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leaflet docs are hard to follow sometimes. It says that CircleMarker extends Circle that extends Path which has a weight default of 5. What is the reason that lead you to choose 2 instead? (Just curios, you don't need to change to 5. Images maybe help us decided here 😄 )

@palewire
Copy link
Contributor Author

palewire commented Dec 31, 2016 via email

@ocefpaf
Copy link
Member

ocefpaf commented Dec 31, 2016

I'm fine with 5 if that fits better

To be honest I never plotted the difference 😬

Let's merge with 2 for the sake of consistency and, if 5 looks better, we can change that in another PR for all the classes.

Thanks @palewire for the awesome addition!

@ocefpaf ocefpaf merged commit f61b738 into python-visualization:master Dec 31, 2016
sanga pushed a commit to sanga/folium that referenced this pull request Oct 24, 2017
…a-coalition/weight-circle-marker

Added weight option to CircleMarker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants