skillfed

splot

Visual analytics for spatial analysis with PySAL.

splot v1.1.7 99.2K downloads/30d#13,033 on PyPI101
Permissive license 3-Clause BSD AGING released

What it is and what it does

splot is a visualization layer for the PySAL spatial analysis ecosystem. It translates PySAL statistical objects—like Moran's I results, classification schemes, and space-time autocorrelation measures—into publication-ready static plots and exploratory interactive visualizations. The package wraps matplotlib, seaborn, and related tools to handle the domain-specific needs of spatial data, such as choropleth mapping, spatial autocorrelation scatterplots, and value-by-alpha visualizations.

You use splot when you've completed spatial statistical analysis in PySAL (esda, libpysal, spreg, giddy) and need to communicate or explore the results visually. It abstracts away boilerplate matplotlib configuration and provides sensible defaults for common spatial workflows, letting you focus on interpretation rather than plot construction.

Use it for:

  • Visualize univariate or multivariate spatial autocorrelation results from esda as Moran scatterplots and cluster maps.
  • Create choropleth maps with value-by-alpha styling to show spatial patterns with statistical confidence.
  • Plot space-time autocorrelation trends from giddy to assess how spatial relationships evolve over time.
  • Explore neighboring polygon relationships and non-planar spatial joins using libpysal visualization functions.
  • Generate publication-ready static maps and exploratory interactive plots for spatial regression diagnostics from spreg.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

splot creates static and interactive visualizations for spatial analysis workflows, connecting PySAL objects to matplotlib and other visualization toolkits.

Yes, if you work with PySAL for spatial analysis and need to visualize results. The package is stable (Production/Stable status), has no known vulnerabilities, and installs cleanly. The aging maintenance status is a minor concern for active development, but the repository is not abandoned and the codebase is mature. Install it as part of your PySAL workflow or as a standalone visualization layer for spatial statistics.

Install

splot on PyPI

pip

pip install splot

uv

uv add splot

poetry

poetry add splot

Installing splot

Before you install

Low install friction with a pure-wheel distribution. Maintenance status is aging—last release was in September 2024, though the repository remains active with a recent commit in June 2025.

License in practice

3-Clause BSD is permissive; you can use, modify, and distribute splot freely in commercial and private projects with minimal restrictions.

Quickstart

pip install splot

import splot
from splot.esda import moran_scatterplot
import geopandas as gpd

# Visualize spatial autocorrelation on a GeoDataFrame
moran_scatterplot(moran_result, gdf)

Requires geopandas 0.9.0 or later and matplotlib 3.3.3 or later; designed for Python 3.8+.

Verify before relying

  • Whether all 10 runtime dependencies (esda, giddy, libpysal, spreg, etc.) are required for basic use or only for specific visualization workflows.
  • Current state of interactive visualization support and which interactive toolkits are fully integrated beyond matplotlib.

Package facts

License 3-Clause BSD (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies 10 — esda, geopandas, giddy, libpysal, mapclassify, matplotlib, numpy, packaging, seaborn, spreg
Maintenance aging — 704 days since the last release
Last repo commit
First released
Downloads 99,239/month — #13,033 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: splot-1.1.7-py3-none-any.whl

Keywords: spatial, statistics, visualization

Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: EducationIntended Audience :: Science/ResearchLicense :: OSI Approved :: BSD LicenseProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Scientific/EngineeringTopic :: Scientific/Engineering :: GIS

Tags

spatial analysis visualizationpysal plottingchoropleth mapsspatial autocorrelation plotsgeopandas visualizationspatial statistics chartsinteractive spatial maps
spatial-analysisgeospatial-vizpysal-ecosystem

More Scientific/Engineering packages