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

Uploaded Source

File details

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

File metadata

  • Download URL: japanmap-0.0.18.tar.gz
  • Upload date:
  • Size: 168.2 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

Hashes for japanmap-0.0.18.tar.gz
Algorithm Hash digest
SHA256 e09e4cb5a5254b35f2f8b0ee8c643955a36fa3d1320bc561e37df1c242d53c21
MD5 1bb89790dbb61621d0e6bb068bd44435
BLAKE2b-256 aaafd5084f242df99bd9f4e9b00157ca7346e436e0b0752fa12829eb241335a3

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