Skip to main content

`japanmap` is a package for Japanese map.

Project description

japanmap is a package for Japanese map.

Usage

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(), width=4)
# `svg.data` is SVG source
svg

Requirements

  • Python 3, Pillow, Numpy, Open-CV

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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

japanmap-0.4.0-py3-none-any.whl (170.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: japanmap-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 170.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for japanmap-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 150a6ddfe2287679649c693f7441396e96883490b7eb4dc825245f639333e808
MD5 1b788bafe16cacf00172c08f30acdcd7
BLAKE2b-256 0f9755f6416716d4cced1e25c45c6522f77d1c57a4fdd621d73b20f29fcd6306

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