You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure how this code came about and I would have to guess what is causing the banding.
For me, I don't see banding with the current code. Setting a particular width doesn't change that. If I zoom the page in I do get banding at some zoom levels, but not all.
I'm going to say this is not something we have to strive to resolve. But if somebody can provide more insight on this that is welcome!
When attaching a
LinearColormap
to afolium.raster_layers.TileLayer
map, I'm getting banding in the fillThis appears to persist across various OS and browser combinations
I'm creating the colour map as
I've isolated the problem with the
rect
width being set herehttps://github.com/python-visualization/branca/blob/master/branca/templates/color_scale.js#L48
For my case, this function is returning a width of ~0.8 (although each rect is slightly different widths).
If I set
width=1.5
the problem is resolvedI'm wondering if this is intended behaviour, if it's a bug, and/or if there are any unintended consequences to changing the width.
The text was updated successfully, but these errors were encountered: