splot - visual analytics for spatial statistics

splot - visual analytics for spatial statistics - Published in JOSS (2020)

https://github.com/pysal/splot

Science Score: 95.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 7 DOI reference(s) in README and JOSS metadata
  • Academic publication links
    Links to: joss.theoj.org, zenodo.org
  • Committers with academic emails
    8 of 53 committers (15.1%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
    Published in Journal of Open Source Software

Keywords from Contributors

network-analysis graph-theory topology spatial-network pysal transportation spatial-data finite-elements fem spatial-optimization

Scientific Fields

Political Science Social Sciences - 67% confidence
Last synced: 4 months ago · JSON representation

Repository

Lightweight plotting for geospatial analysis in PySAL

Basic Info
  • Host: GitHub
  • Owner: pysal
  • License: bsd-3-clause
  • Language: Jupyter Notebook
  • Default Branch: main
  • Size: 76.7 MB
Statistics
  • Stars: 101
  • Watchers: 22
  • Forks: 27
  • Open Issues: 21
  • Releases: 9
Created over 8 years ago · Last pushed 7 months ago
Metadata Files
Readme Changelog Contributing License

README.md

splot is in the process of being archived. It's functionality is being integrated into associated PySAL projects.

splot

Continuous Integration codecov Documentation Status PyPI version DOI DOI

Visual analytics for spatial analysis with PySAL.

Local Spatial Autocorrelation

What is splot?

splot connects spatial analysis done in PySAL to different popular visualization toolkits like matplotlib. The splot package allows you to create both static plots ready for publication and interactive visualizations for quick iteration and spatial data exploration. The primary goal of splot is to enable you to visualize popular PySAL objects and gives you different views on your spatial analysis workflow.

If you are new to splot and PySAL you will best get started with our documentation and the short introduction video of the package at the Scipy 2018 conference!

Installing splot

Installing dependencies

splot is compatible with Python 3.8+ and depends on geopandas 0.9.0 or later and matplotlib 3.3.3 or later.

splot also uses

  • numpy
  • seaborn
  • mapclassify
  • Ipywidgets

Depending on your spatial analysis workflow and the PySAL objects you would like to visualize, splot relies on:

  • PySAL 2.0

or separate packages found in the PySAL stack:

  • esda
  • libpysal
  • spreg
  • giddy

Installing splot

There are two ways of accessing splot. First, splot is installed with the PySAL 2.0 metapackage through:

$ pip install -U pysal

or

$ conda install -c conda-forge pysal

Second, splot can be installed as a separate package. If you are using Anaconda, install splot via the conda utility:

conda install -c conda-forge splot

Otherwise you can install splot from PyPI with pip:

pip install splot

Usage

Usage examples for different spatial statistical workflows are provided as notebooks:

You can also check our documentation for examples on how to use each function. A detailed report about the development, structure and usage of splot can be found here. More tutorials for the whole PySAL ecosystem can be found in our notebooks book project.

Contributing to splot

splot is an open source project within the Python Spatial Analysis Library that is supported by a community of Geographers, visualization lovers, map fans, users and data scientists. As a community we work together to create splot as our own spatial visualization toolkit and will gratefully and humbly accept any contributions and ideas you might bring into this project.

Feel free to check out our discussion spaces, add ideas and contributions:

If you have never contributed before or you are just discovering what PySAL and splot have to offer, reading through """Doc-strings""" and correcting our Documentation can be a great way to start. Check for spelling and grammar mistakes or use pep8 and pyflakes to clean our .py files. This will allow you to get used to working with git and generally allows you to familiarize yourself with the splot and PySAL code base.

If you have already used PySAL and splot and you are missing object-specific views for your analysis feel free to add to our code-base or discuss your ideas. Please make sure you include unit test, documentation and examples or (create an issue so someone else can work together with you). The common splot API design discussed here can help you to decide how to best integrate your visualization prototype into splot.

Beyond working on documentation and prototyping new visualizations, you can always write a bug report or feature request on Github issues. Whether large or small, any contribution makes a big difference and we hope you enjoy being part of our community as much as we do! The only thing we ask is that you abide principles of openness, respect, and consideration of others as described in the PySAL Code of Conduct.

Road-map

We are planning on extending splot's visualization toolkit in future. Functionality we plan to implement includes:

  • visualisations for density methods (mapping density estimations)
  • cross-hatching fill styles for maps (to allow choropleth visualizations without class intervals)
  • legendgrams (map legends that visualize the distribution of observations by color in a given map)

If you are interested in working on one of these or any other methods, check out the linked issues or get in touch!

Community support

Owner

  • Name: Python Spatial Analysis Library
  • Login: pysal
  • Kind: organization

JOSS Publication

splot - visual analytics for spatial statistics
Published
March 23, 2020
Volume 5, Issue 47, Page 1882
Authors
Stefanie Lumnitz ORCID
Department of Forest Resource Management, University of British Columbia, Center for Geospatial Sciences, University of California Riverside
Dani Arribas-Bell ORCID
Geographic Data Science Lab, Department of Geography & Planning, University of Liverpool
Renan X. Cortes ORCID
Center for Geospatial Sciences, University of California Riverside
James D. Gaboardi ORCID
Department of Geography, Pennsylvania State University
Verena Griess ORCID
Department of Forest Resource Management, University of British Columbia
Wei Kang ORCID
Center for Geospatial Sciences, University of California Riverside
Taylor M. Oshan ORCID
Department of Geographical Sciences, University of Maryland, College Park
Levi Wolf ORCID
School of Geographical Sciences, University of Bristol, Alan Turing Institute
Sergio Rey ORCID
Center for Geospatial Sciences, University of California Riverside
Editor
Leonardo Uieda ORCID
Tags
visualization spatial analysis spatial statistics

Papers & Mentions

Total mentions: 1

Automatising the analysis of stochastic biochemical time-series
Last synced: 3 months ago

GitHub Events

Total
  • Issues event: 9
  • Watch event: 3
  • Issue comment event: 14
  • Push event: 1
  • Pull request event: 2
  • Fork event: 1
Last Year
  • Issues event: 9
  • Watch event: 3
  • Issue comment event: 14
  • Push event: 1
  • Pull request event: 2
  • Fork event: 1

Committers

Last synced: 5 months ago

All Time
  • Total Commits: 3,381
  • Total Committers: 53
  • Avg Commits per committer: 63.792
  • Development Distribution Score (DDS): 0.665
Past Year
  • Commits: 5
  • Committers: 3
  • Avg Commits per committer: 1.667
  • Development Distribution Score (DDS): 0.6
Top Committers
Name Email Commits
Serge Rey s****y@g****m 1,133
Phil Stephens p****s@g****m 399
Stefanie Lumnitz s****z@g****m 320
Charles Schimdt s****c@g****m 260
Taylor Oshan t****n@g****m 241
Jay j****a@a****u 149
Dani Arribas-Bel d****l@g****m 142
ljwolf l****f@g****m 103
ljwolf l****2@a****u 101
David Folch d****h@g****m 91
Myhungha Hwang m****4@g****m 87
Dani Arribas d****e@g****m 57
James Gaboardi j****i@g****m 50
Nick Malizia n****a@g****m 44
pedrovma p****a@g****m 39
Luc Anselin l****n@g****m 26
Wei Kang w****9@g****m 24
Martin Fleischmann m****n@m****t 18
Marynia m****k@g****m 10
Qunshan q****o@a****u 10
James Gaboardi j****i@f****u 10
renanxcortes r****s@g****m 8
Xinyue Ye x****e@g****m 7
Andrew Winslow a****w@g****m 6
David Folch d****h@t****l 5
kritin sai k****1@g****m 4
Stuart Lynn s****n@g****m 3
Sergio Rey s****e@b****l 2
bohumul b****a@a****u 2
Serge Rey s****y@g****m 2
and 23 more...

Issues and Pull Requests

Last synced: 4 months ago

All Time
  • Total issues: 63
  • Total pull requests: 61
  • Average time to close issues: over 1 year
  • Average time to close pull requests: 24 days
  • Total issue authors: 21
  • Total pull request authors: 8
  • Average comments per issue: 3.33
  • Average comments per pull request: 2.26
  • Merged pull requests: 56
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 4
  • Pull requests: 5
  • Average time to close issues: about 12 hours
  • Average time to close pull requests: about 10 hours
  • Issue authors: 2
  • Pull request authors: 3
  • Average comments per issue: 2.75
  • Average comments per pull request: 4.4
  • Merged pull requests: 4
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • jGaboardi (21)
  • slumnitz (12)
  • martinfleis (8)
  • knaaptime (4)
  • ljwolf (2)
  • LuYan5203 (1)
  • olenaboiko303 (1)
  • sjsrey (1)
  • stevenlis (1)
  • Babakjfard (1)
  • digital-idiot (1)
  • alsace-research (1)
  • LSYS (1)
  • darribas (1)
  • SamComber (1)
Pull Request Authors
  • slumnitz (34)
  • jGaboardi (15)
  • martinfleis (8)
  • weikang9009 (4)
  • arfon (1)
  • sjsrey (1)
  • MgeeeeK (1)
  • tirkarthi (1)
Top Labels
Issue Labels
enhancement (9) maintenance (9) discussion (5) priority: high (5) wishlist (4) level: expert (4) bug (4) testing/CI (4) doc (3) rough edge (3) GitHub Actions (2) level: novice (2) maint/infra (2) roadmap (2) help wanted (1) WIP (1) priority: low (1) question (1) priority: medium (1) JOSS paper (1)
Pull Request Labels
testing/CI (9) bug (8) JOSS paper (4) GitHub Actions (3) doc (3) maint/infra (2) WIP (2) priority: high (2) blocked (1) enhancement (1) roadmap (1) maintenance (1) rough edge (1)

Packages

  • Total packages: 3
  • Total downloads:
    • pypi 26,329 last-month
  • Total docker downloads: 218
  • Total dependent packages: 7
    (may contain duplicates)
  • Total dependent repositories: 73
    (may contain duplicates)
  • Total versions: 17
  • Total maintainers: 3
pypi.org: splot

Visual analytics for spatial analysis with PySAL.

  • Versions: 9
  • Dependent Packages: 4
  • Dependent Repositories: 49
  • Downloads: 26,329 Last month
  • Docker Downloads: 218
Rankings
Docker downloads count: 1.8%
Dependent repos count: 2.1%
Downloads: 2.3%
Dependent packages count: 2.4%
Average: 3.9%
Stargazers count: 7.2%
Forks count: 7.7%
Maintainers (3)
Last synced: 4 months ago
conda-forge.org: splot

splot connects spatial analysis done in PySAL to different popular visualization toolkits like matplotlib. The splot package allows you to create both static plots ready for publication and interactive visualizations for quick iteration and spatial data exploration. The primary goal of splot is to enable you to visualize popular PySAL objects and gives you different views on your spatial analysis workflow.

  • Homepage: http://pysal.org
  • License: BSD-3-Clause
  • Latest release: 1.1.4
    published over 4 years ago
  • Versions: 5
  • Dependent Packages: 3
  • Dependent Repositories: 12
Rankings
Dependent repos count: 10.2%
Dependent packages count: 15.6%
Average: 23.3%
Forks count: 33.6%
Stargazers count: 33.8%
Last synced: 4 months ago
anaconda.org: splot

splot connects spatial analysis done in PySAL to different popular visualization toolkits like matplotlib. The splot package allows you to create both static plots ready for publication and interactive visualizations for quick iteration and spatial data exploration. The primary goal of splot is to enable you to visualize popular PySAL objects and gives you different views on your spatial analysis workflow.

  • Homepage: https://pysal.org
  • License: BSD-3-Clause
  • Latest release: 1.1.7
    published 5 months ago
  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 12
Rankings
Dependent repos count: 36.7%
Stargazers count: 43.5%
Average: 44.0%
Forks count: 44.7%
Dependent packages count: 51.2%
Last synced: 4 months ago

Dependencies

requirements.txt pypi
  • esda *
  • geopandas >=0.4.0
  • giddy *
  • libpysal *
  • mapclassify *
  • matplotlib *
  • numpy *
  • seaborn *
  • spreg *
requirements_dev.txt pypi
  • bokeh * development
  • codecov * development
  • coverage * development
  • ipywidgets * development
  • jupyter * development
  • nbconvert * development
  • numpydoc * development
  • pytest * development
  • pytest-cov * development
  • sphinx >=1.4.3 development
  • sphinx_bootstrap_theme * development
  • sphinxcontrib-bibtex * development
.github/workflows/release_and_publish.yml actions
  • actions/checkout v3 composite
  • actions/github-script v6 composite
  • actions/setup-python v3 composite
  • pypa/gh-action-pypi-publish master composite
.github/workflows/unittests.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • codecov/codecov-action v2 composite
  • mamba-org/provision-with-micromamba main composite
  • pre-commit/action v3.0.0 composite