`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.17.tar.gz
(167.7 kB
view details)
File details
Details for the file japanmap-0.0.17.tar.gz.
File metadata
- Download URL: japanmap-0.0.17.tar.gz
- Upload date:
- Size: 167.7 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 |
18a14e4e9959fb5c302500f4ef2fc7142a07bb179ff5b85a54708e3d25f32d46
|
|
| MD5 |
66250ac08ee8715dee54f040dac38c66
|
|
| BLAKE2b-256 |
9a3b43dc4401ce39dd425fc8674fa63d5cea97510a266b3d9aa3692344c079df
|