`japanmap` is a package for Japanese map.
Project description
japanmap is a package for Japanese map.
import matplotlib.pyplot as plt
from japanmap import picture, get_data, pref_map
pct = picture({'北海道': 'blue'}) # numpy.ndarray
# pct = picture({1: 'blue'}) # same to above
plt.imshow(pct) # show graphics
plt.savefig('map.png') # save to PNG file
svg = pref_map(range(1,48), qpqo=get_data()) # IPython.display.SVG
print(svg.data) # SVG source
Requirements
Python 3, Numpy
Features
nothing
Setup
$ pip install japanmap
History
0.0.1 (2016-6-7)
first release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
japanmap-0.0.15.tar.gz
(167.1 kB
view details)
File details
Details for the file japanmap-0.0.15.tar.gz.
File metadata
- Download URL: japanmap-0.0.15.tar.gz
- Upload date:
- Size: 167.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.9 CPython/3.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a1260e0fc5ba2eb4dd7d03fe6971c1901d78d7f9bd104ebe050157c64778f29
|
|
| MD5 |
0b3de8e840f82129cf276044ab454200
|
|
| BLAKE2b-256 |
78ea2e4caab3ad4415045496ef86d90e4a7648f909bd880292a27f857e0fc024
|