This package allows you to easily create a colored map of US States or counties. For example:
import simplemapplot
example_colors = ["#FC8D59","#FFFFBF","#99D594"]
state_value = {"TX":2, "WI":1, "IL":1, "AK":0, "MI":0, "HI":2}
make_us_state_map(data=state_value, colors=example_colors)
This creates a colored US state map (SVG file) in the same directory.
Installing
Simply use pip:
pip install SimpleMapPlot
Other Examples
Create a colored world map:
import simplemapplot
example_colors = ["#FC8D59","#FFFFBF","#99D594"]
country_value = {"us":1, "au":2, "gb":0}
make_world_country_map(data=country_value, colors=example_colors)
Metadata
Release files for simplemapplot 1.0.3
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 | Actions |
|---|---|---|---|---|
| simplemapplot-1.0.3.tar.gz | 993.5 kB | Without provenance | Details for simplemapplot-1.0.3.tar.gz |
Release files / simplemapplot-1.0.3.tar.gz
| Download URL | simplemapplot-1.0.3.tar.gz |
|---|---|
| Size | 993.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a2643c959197d18dfce89d3f5b7e94f31f9477725efc47b0155eb2c035addb6a
|
|
BLAKE2b-256 checksum How to use checksums |
806175e2a6cfeb113c793c0e957b8253ef1d6178e7c9a3f04976fb7229ec9363
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for simplemapplot 1.0.3
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.