Skip to main content

`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


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.13.tar.gz (167.1 kB view details)

Uploaded Source

File details

Details for the file japanmap-0.0.13.tar.gz.

File metadata

  • Download URL: japanmap-0.0.13.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

Hashes for japanmap-0.0.13.tar.gz
Algorithm Hash digest
SHA256 f5f54e2d233ef9ff9230af5f19e0c58be33db195df7decbd2a5b18bf6d8ed4c3
MD5 2b580cce945c8a96e474bfb0053440b7
BLAKE2b-256 71d9d62c6b7a40e2cc4087289c8de03f2c50fa2eb0c1a16438063977fb5f9a83

See more details on using hashes here.

Supported by

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