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.10, Pillow, Numpy, Open-CV

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.2.0.tar.gz (172.6 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.2.0-py3-none-any.whl (170.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: japanmap-0.2.0.tar.gz
  • Upload date:
  • Size: 172.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.10.2 Darwin/19.6.0

File hashes

Hashes for japanmap-0.2.0.tar.gz
Algorithm Hash digest
SHA256 31135d9a3984bb7c82967fc42850f45e15eeea64937f8cabd1fc6cf086c7d579
MD5 428e93f3b45245a79920619b5362f07a
BLAKE2b-256 7e519bb5121a1939fb045bb3167d4fcf7fe30ab0e74b4f1bb580f26d9fd7e9ea

See more details on using hashes here.

File details

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

File metadata

  • Download URL: japanmap-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 170.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.10.2 Darwin/19.6.0

File hashes

Hashes for japanmap-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 754c296e552640d9d0bb4bc8e3bad816659ffcf6d74ab54b7c8dcea0a9bdd1a9
MD5 c9f101df60d9a22f253a65eeb032f4b0
BLAKE2b-256 f867c40459ced0bdb90168b07731f3a09ccb4a31c739f39786f4ce57b004bc4b

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