`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.16.tar.gz
(167.2 kB
view details)
File details
Details for the file japanmap-0.0.16.tar.gz.
File metadata
- Download URL: japanmap-0.0.16.tar.gz
- Upload date:
- Size: 167.2 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 |
c2ad433defb8fce4be0c2ea0e6afd0d5b8c4ffe47516769f1d210e768d93b10b
|
|
| MD5 |
211482aefa4c9a715e26e73bdd95af4e
|
|
| BLAKE2b-256 |
12d826006111495dfa7572db23cfdeaf6cca324a96667dc8462333e12b494adb
|