gspatial_plot
A geospatial plotting library built on top of geopandas. The aim of this library is to simplify generation of various geospatial plot and provide a simple interface to various commonly used geospatial plot types.
Documentation
Welcome to gspatial-plot’s documentation! — gspatial-plot 0.1.0a0 documentation
Features
-
Simple API
-
Better defaults compared to vanilla geopandas plot
-
Customizations made simple
-
Compatible with other geopandas or matplotlib axis objects
-
Provides functions for plotting bubbleplots, cartograms, heatmaps, spikemaps and densityplots
Installing
pip install gspatial-plot
Usage
import gspatial_plot as gsp
usa = gsp.us_states
usa = usa[
~usa["NAME"].isin(
[
"Hawaii",
"Guam",
"American Samoa",
"Commonwealth of the Northern Mariana Islands",
"Alaska",
]
)
]
gsp.randommap(usa, seed=3, annot=True, annot_column="NAME", figsize=(30, 30))
gsp.shapeplot(usa, figsize=(15, 15))
gsp.pointplot(usa_points, base=usa)
gsp.choropleth(usa, "AWATER")
gsp.bubblemap(usa, usa["AWATER"])
gsp.cartogram(
usa,
"AWATER",
)
gsp.densityplot(usa, clip=True, clip_factor=1.5)
gsp.heatmap(usa, "AWATER")
gsp.spikemap(usa, "AWATER")
gsp.offline_static_basemap()
gsp.offline_folium_basemap(crs="EPSG4326")
Metadata
Release files for gspatial-plot 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| gspatial_plot-0.2.0.tar.gz | 2.2 MB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gspatial_plot-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.3 MB
Release files / gspatial_plot-0.2.0.tar.gz
| Download URL | gspatial_plot-0.2.0.tar.gz |
|---|---|
| Size | 2.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0f36aedcde2fc69d3c2230bb622f759c9a852630774a778e727261140ada3af2
|
|
BLAKE2b-256 checksum How to use checksums |
2592a5a3f0710f21bd6efc21e4b69c7df6e89554ae581a30a598f1564da22e07
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / gspatial_plot-0.2.0-py3-none-any.whl
| Download URL | gspatial_plot-0.2.0-py3-none-any.whl |
|---|---|
| Size | 2.2 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dfcdfdb660f1392a933342708c96b5eeff7e4ab0c64db56dd04b1c4039f7f16c
|
|
BLAKE2b-256 checksum How to use checksums |
fd4d14776178355163ff61ce4c9da0f6b7d47ccdfc136e8cfb54b116126fb452
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Security for gspatial-plot 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.