Skip to content

vba_choropleth - Transparent polygons #146

@ivandorte

Description

@ivandorte

Good evening,
I was trying vba_choropleth and I noted that polygons of the lowest class are colored as transparent. Is this a bug?
This is the code that I used:

>>> vba_choropleth(x, 
                   y, 
                   df, rgb_mapclassify=dict(classifier='quantiles', k=5),
                   alpha_mapclassify=dict(classifier='quantiles', k=5), 
                   legend=True, 
                   cmap='viridis', 
                   ax=ax)

And this is the result. France, Portugal and Spaign and others are transparent:
output
Thanks! Ivan!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions