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

Uploaded Source

File details

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

File metadata

  • Download URL: japanmap-0.0.21.tar.gz
  • Upload date:
  • Size: 167.9 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.21.tar.gz
Algorithm Hash digest
SHA256 9a79348a14191768db5e12a26bec09c92463aa47d454ed894d23d7e6a7e749fe
MD5 02bcf27dc9098eeeb95186f7043ab4f5
BLAKE2b-256 6c492b29122d76a631984df2ebebead802f4e5752e33fe3478ccec2a2e4073da

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