Skip to main content

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)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simplemapplot-1.0.3.tar.gz (993.5 kB view details)

Uploaded Source

File details

Details for the file simplemapplot-1.0.3.tar.gz.

File metadata

  • Download URL: simplemapplot-1.0.3.tar.gz
  • Upload date:
  • Size: 993.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for simplemapplot-1.0.3.tar.gz
Algorithm Hash digest
SHA256 a2643c959197d18dfce89d3f5b7e94f31f9477725efc47b0155eb2c035addb6a
MD5 602083d263f6c00ad6b541748283c838
BLAKE2b-256 806175e2a6cfeb113c793c0e957b8253ef1d6178e7c9a3f04976fb7229ec9363

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.3 This release

1 file

1.0.2

1 file

1.0.1

1 file

1.0

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page