documentation icon indicating copy to clipboard operation
documentation copied to clipboard

Missing borders in World Choropleth Map

Open evpu opened this issue 8 years ago • 1 comments

The example World Choropleth Map (https://plot.ly/python/choropleth-maps/) does not plot borders where GDP data is missing. In this map shapefile (from Natural Earth?) Somaliland is plotted independently from Somalia, and also Western Sahara has a different shape if compared to, for example, Google Maps.

evpu avatar Aug 12 '17 19:08 evpu

To prevent missing countries borders try to add showcountries = True

`layout = dict(
        title = '2011 US Agriculture Exports by State<br>(Hover for breakdown)',
        geo = dict(
            scope='usa',
            projection=dict( type='albers usa' ),
            showlakes = True,
            showcountries = True,
            lakecolor = 'rgb(255, 255, 255)'),
             )`

Katush888 avatar Dec 25 '18 14:12 Katush888