Incorrect warning for using colors 'black' and 'lightgray'
See original GitHub issuePlease add a code sample or a nbviewer link, copy-pastable if possible
#an example, but throws for anywhere where the color 'black' or 'lightgray' is passed in as an argument
icon_args = {"color": "black"}
f = folium.Icon(**icon_args)
Problem description
It seems that the colors “lightgray” and “black” are merged together in the color_options
list (as “lightgrayblack”) but in the argument documentation are correctly listed as “light gray” and “black”. This seems to be throwing an (incorrect) warning to the user:
From the documentation:
Expected Output
No user warning for using “black” or “lightgray”.
Output of folium.__version__
0.9.1
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Design Tip: Never Use Black - Ian Storm Taylor
Problem is, we see dark things and assume they are black things. ... so they're not even dark gray, they're colored-dark gray.
Read more >why are paint bucket colors only shades of gray?
Solved: I'm using paint bucket for fill colors and though I see and choose colors from the spectrum all I am getting is...
Read more >STOP trying to 'Fix' Gamut Warning! Do THIS instead in ...
Get the Best possible Colors in Print & DON'T let the old Gamut Warning Affect you. Soft Proofing SIMPLIFIED in this Photoshop Tutorial....
Read more >The Fallacy of Gray - LessWrong
The Sophisticate: “The world isn't black and white. No one does pure good or pure bad. It's all gray. Therefore, no one is...
Read more >The differences between color-coded Covid-19 warnings ...
It seems intuitive enough: Red means stop, amber means caution, green means go. As Covid-19 levels fluctuate around the world, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve made the PR. Not sure how else better to update the tests, to be honest. Thanks for the timely response!
Sure, I’ll try it out when I get some time. Thanks!