What is geoplot-themes?
geoplot-themes is a Python package designed for geospatial data scientists and cartographers who demand publication-quality, aesthetically stunning maps without sacrificing the power of the Python data science ecosystem.
While Python tools like geopandas and matplotlib are incredibly powerful for data processing and basic plotting, they often lack the declarative elegance, cartographic precision, and beautiful defaults of R's ggplot2.
geoplot-themes solves this by acting as a bridge: you process your spatial data in Python, but render it using a customized ggplot2 engine under the hood.
Why use geoplot-themes?
- Cartographic Precision: Automatically generated scale bars, north arrows, and properly aligned legends.
- Infinite Overlays: Stack multiple vector layers on top of raster data, each with completely independent color and fill scales (thanks to
ggnewscale). - No More Aspect Ratio Nightmares: Automatically resolves orientation and aspect ratio so your maps are never stretched or padded with ugly white borders.
- Beautiful Themes: Stop tweaking
matplotlibrcParams. Use hand-crafted, publication-ready themes out of the box.
