magpye.GeoMap
- class magpye.GeoMap(*args, **kwargs)
Class for designing and plotting geospatial maps.
- Parameters
area_name (str, optional) – The name of a an area (e.g. ‘europe’) with a pre-configured projection and extent - see examples for a sample of valid area names.
projection (str, optional) – The name of the map projection to use for this map. See examples for a sample of valid projections.
extent (tuple, optional) – A four-element list/tuple containing the latitude and longitude extents to use in the map. These must be provided in the order: lower- left latitude, lower-left longitude, upper-right latitude, upper-right longitude.
- __init__(*args, **kwargs)
Methods
__init__(*args, **kwargs)arrows(*[, u, v, speed, direction, shaded, ...])Plot arrows on a map.
coastlines(*args, **kwargs)Add coastlines to the map.
contour_lines(source, *args[, style])Plot line contours on a map.
contour_shaded(source, *args[, style])Plot filled contours on a map.
footer(*args, **kwargs)Add a footer to the bottom of the plot, containing text and/or a logo.
gridlines(*args, **kwargs)Add gridlines to the map.
legend(*args, **kwargs)register(item)rivers(*args, **kwargs)Add rivers to the map.
save(*args, **kwargs)show()title(text, **kwargs)Add a title above the map.