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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

japanmap-0.0.22-py3-none-any.whl (166.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: japanmap-0.0.22.tar.gz
  • Upload date:
  • Size: 168.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.8.2 Darwin/19.0.0

File hashes

Hashes for japanmap-0.0.22.tar.gz
Algorithm Hash digest
SHA256 964ad3b8480ee782cd4b3d2d5e544876010fa15d122d1e47b80c0324917f527d
MD5 acfb6ef378d896ab0af1f1597bf11692
BLAKE2b-256 2dc0a92bdd3aa0956a4aeb61a106abcfe7db148f99013eaad68eb464161f2f3b

See more details on using hashes here.

File details

Details for the file japanmap-0.0.22-py3-none-any.whl.

File metadata

  • Download URL: japanmap-0.0.22-py3-none-any.whl
  • Upload date:
  • Size: 166.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.8.2 Darwin/19.0.0

File hashes

Hashes for japanmap-0.0.22-py3-none-any.whl
Algorithm Hash digest
SHA256 638a0609e30edbe6c932f618d9d96102d49608f5cfd0ce54f2442541662d1c14
MD5 352e41207608a556d6396e6b4f96c1b9
BLAKE2b-256 7c69936370204489a4c1fc498f72d5d383e116a107865976fceeac801405c8ec

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