legend color doesn't match map colors python

123 Views Asked by At

I'm using the vba_choropleth to create Value-by-Alpha Choropleth, but the legend doesn't match the color of my map.

fig = plt.figure(figsize=(15,10))
ax = fig.add_subplot(111)
vba_choropleth(x, y, gdf,
               alpha_mapclassify=dict(classifier='quantiles', k=5),
               rgb_mapclassify=dict(classifier='quantiles', k=5),
               legend=True, ax=ax)

enter image description here

0

There are 0 best solutions below