Closed martinfleis closed 3 years ago
CI failures are not related to this PR.
I've added basic tests for LinearColormap
and StepColormap
, fixed docstrings and reverted the addition of the last value to the legend. Should be ready for another round of review/merge.
Closes #88
This PR introduces 2 changes to the ColorMap labels.
max_labels
keyword to control how many labels should be shown. At the moment there is a hard-coded value of 10, which often causes overlaps.We are currently working on folium-based plotting to be included in GeoPandas and this is one of the things which would be great to fix to make a smoother user experience.
One question - how do you want to test it? I see that branca tests are essentially written as a check that it the code does not fail.