CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-proplot

A succinct matplotlib wrapper for making beautiful, publication-quality graphics.

Pending
Overview
Eval results
Files

projections.mddocs/

Geographic Projections

Extended collection of cartographic projections beyond matplotlib and cartopy defaults, with specialized polar projections and support for custom coordinate reference systems. Proplot provides additional projections and enhanced geographic plotting capabilities.

Capabilities

Custom Projection Classes

class Aitoff:
    """Aitoff projection for world maps."""

class Hammer:
    """Hammer projection for world maps."""

class KavrayskiyVII:
    """Kavrayskiy VII projection."""

class WinkelTripel:
    """Winkel tripel (Winkel III) projection."""

class NorthPolarAzimuthalEquidistant:
    """North polar azimuthal equidistant projection."""

class SouthPolarAzimuthalEquidistant:
    """South polar azimuthal equidistant projection."""

class NorthPolarGnomonic:
    """North polar gnomonic projection."""

class SouthPolarGnomonic:
    """South polar gnomonic projection."""

class NorthPolarLambertAzimuthalEqualArea:
    """North polar Lambert azimuthal equal area projection."""

class SouthPolarLambertAzimuthalEqualArea:
    """South polar Lambert azimuthal equal area projection."""

Projection Constructor

def Proj(*args, **kwargs):
    """
    Construct projection instances from specifications.
    
    Parameters:
    - proj (str): Projection name or specification
    - **kwargs: Projection-specific parameters
    
    Supported Projections:
    - All cartopy projections (platecarree, mercator, lambert, etc.)
    - Custom proplot projections (aitoff, hammer, winkel3, etc.)
    - Polar projections (npaeqd, spaeqd, nplaea, etc.)
    
    Returns:
    Projection: Cartopy projection instance
    """

Usage Examples

import proplot as pplt

# Custom projections
fig, axes = pplt.subplots(ncols=3, proj=['aitoff', 'hammer', 'winkel3'])
for ax in axes:
    ax.format(land=True, coast=True)

# Polar projections
fig, ax = pplt.subplots(proj='npaeqd')
ax.format(boundinglat=60, land=True, coast=True)

Install with Tessl CLI

npx tessl i tessl/pypi-proplot

docs

axes-plotting.md

colors-colormaps.md

configuration.md

demonstrations.md

figure-subplots.md

index.md

projections.md

scales.md

tick-control.md

utilities.md

tile.json