Expose legend_scaler's max_labels in ColorMap
martinfleis opened this issue · 0 comments
martinfleis commented
Hi,
I see that legend_scaler
has an option to specify the number of labels (max_labels
) but that is not accessible form within ColorMap
.
Would be great to expose it in ColorMap.__init__
and then pass it to render
. With large numbers you get overlaps and there's no way to prevent it.
Relevant bits:
Line 37 in ac45f1e
Line 90 in ac45f1e
Happy to do a PR for that.