-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
#1742 allowing Choropleth key_on to traverse through array #1772
Conversation
Thanks Amrutha! I'll take a closer look shortly. Just wanted to say already it would be good to add a test for |
Thanks for the pointers Conengmo , will work on them over the weekend and get back to you! |
Hi @Conengmo How do we test for pre-commit check locally ? |
You must first install pre-commit: pip install pre-commit From the root of the folium repository, you should then install the pre-commit included in Folium: pre-commit install Then checks will be run automatically each time you commit changes. You can skip these checks with |
Hi Conengmo, I have made _get_by_key private and included the test case for the same, Please check this and let me know if any other changes are required. Thanks ! |
Great! I’ll take a look on Monday. edit: it’ll be later this week, sorry |
Hi @amrutharajashekar, I added a commit to your PR, hope you don't mind. Your change is good, but since we're touching this code anyway I tried to get rid of some of the repeat logic, make it a bit easier to read. I also added the 'regular' path to the test. If you are okay with this I'll go ahead and merge this one! |
Hi @Conengmo , I don't mind the changes made, we can go ahead and merge them 👍 |
@amrutharajashekar thank you very much for your help! |
closes #1742