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.8-3.9, 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 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.1.0-py3-none-any.whl (167.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for japanmap-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 de872c2b4bc5dff9ca934ad2a9d6b8003d14fb0b2007f9789a59de34114bace9
MD5 9d4b522de59ed3169b24462c644b68e9
BLAKE2b-256 1a23a489bf3371c0d1663fbfd0bd2d8aded8015103102ca0afe662638235d3a5

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