-
Notifications
You must be signed in to change notification settings - Fork 30
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
Legend shows -inf when using lowest in UserDefined #175
Comments
@martinfleis, is this an issue on the geopandas side? |
Multiple issues here actually :D. That TypeError in @sjsrey's post is an issue here. We need to pass mapclassify/mapclassify/_classify_API.py Lines 190 to 191 in 34341a2
But the reported issue is maybe a different one because it does not use geopandas directly but via our mapclassify/mapclassify/classifiers.py Lines 2452 to 2461 in 34341a2
lowest in classification_kwds (for which we need the first issue fixed). Then it should work. Haven't tested it but since geopandas retrives the legend labels via MapClassifier.get_legend_classes , this should be completely fixable on our side here.
|
When using the
lowest
parameter to create user defined classes, the plot shows-inf
.mapclassify: 2.5.0
geopandas: 0.12.2
The text was updated successfully, but these errors were encountered: