Matplotlib interface (cartopy.mpl)#
Cartopy extends some Matplotlib capabilities to handle geographic projections, such as non-rectangular axes and spines.
Geoaxes#
This module defines the cartopy.mpl.geoaxes.GeoAxes
class, an extension of
matplotlib which adds a transform
keyword argument to many plotting methods to enable
geographic projections and boundary wrapping to occur on the axes.
When a Matplotlib figure contains a GeoAxes the plotting commands can transform plot results from source coordinates to the GeoAxes’ target projection.
|
A subclass of |
alias of |
|
|
|
|
Transform coordinates from the source_projection to the |
Gridlines and ticks#
Cartopy can produce gridlines and ticks in any projection and add them to the current geoaxes projection, providing a way to add detailed location information to the plots.
|
Artist used by |
Tools for handling tick marks in cartopy.
|
Tick formatter for a longitude axis. |
|
Tick formatter for latitude axes. |
|
A locator for longitudes that works even at very small scale. |
|
A locator for latitudes that works even at very small scale. |
Artist extensions#
This module defines the FeatureArtist
class, for drawing
Feature
instances through an extension of the Matplotlib Artist interfaces.
|
A subclass of |
Define the SlippyImageArtist class, which interfaces with
cartopy.io.RasterSource
instances at draw time, for interactive
dragging and zooming of raster data.
|
A subclass of |
Patch#
Extra functionality that is primarily intended for developers, providing support for transforming between Shapely geometries and Matplotlib paths.
See also Shapely Geometric Objects and Matplotlib Path API.
|
Create a list of |
|
Create an array of vertices and a corresponding array of codes from a |
|
Create a list of Shapely geometric objects from a |