`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.19.tar.gz
(167.8 kB
view details)
File details
Details for the file japanmap-0.0.19.tar.gz.
File metadata
- Download URL: japanmap-0.0.19.tar.gz
- Upload date:
- Size: 167.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d39a119f4f03ad9076c01d9f26c6018f1ea8e3f7aebd7d2dd46e6d2dc0d31d5
|
|
| MD5 |
46db8a0ebe3d8617341613bf92a5100e
|
|
| BLAKE2b-256 |
3f935a69c1df6842f49197c8510b33c1a8805c3f0dac8808ccb039be3ea67b5b
|