Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

mapMisc

fetch_wb_style(json_url='https://wbg-vis-design.vercel.app/colors.json')

Description:

Fetch the World Bank style JSON file from the internet.

Parameters:

Returns:


static_map_vector(v_data, map_column, colormap='Reds', edgecolor='darker', reverse_colormap=False, thresh=None, legend_loc='upper right', figsize=(10, 10), out_file='', set_title=True, add_basemap=True, add_wb_borders_lines=True, iso3='', bbox=None, **kwargs)

Description:

Simple plot of vector data with optional basemap and styling controls.

Parameters:

Returns:


static_map_raster(r_data, colormap='magma', reverse_colormap=False, thresh=None, legend_loc='upper right', figsize=(10, 10), out_file='')

Description:

Simple plot of raster data for the first band of a raster dataset.

Parameters:

Returns: