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
BUG: pass list-like colors to Multi- geometry #1119
BUG: pass list-like colors to Multi- geometry #1119
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1119 +/- ##
==========================================
- Coverage 89.92% 89.82% -0.11%
==========================================
Files 20 20
Lines 1935 1965 +30
==========================================
+ Hits 1740 1765 +25
- Misses 195 200 +5
Continue to review full report at Codecov.
|
I've replace the changed files (plotting.py and test_plotting.py) in the geopandas directory and it's still not working for me, I'm experiencing the same bug as before. I'm currently using geopandas 0.5.1 with Anaconda and Python 3.7 |
@BCamina can you try installing the whole branch using |
I tried installing the whole branch using pip install and it worked! |
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.
Thanks for fixing this! Looks good, I only have a remark on trying to reduce the calls to _flatten_multi_geoms
Okay, I have also covered everything marked by codecov by additional tests. Should be ready to be merged once green. |
Okay, seems to be ready now. |
@martinfleis Thanks! (and especially for your patience with my reviews!) |
As reported earlier, passing a list-like of colors to gdf.plot() will not match rows if there are multipart geometries. That should be fixed now.
Fixes #1075, fixes #730