Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

`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.

Files for japanmap, version 0.0.22
Filename, size File type Python version Upload date Hashes
Filename, size japanmap-0.0.22-py3-none-any.whl (166.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size japanmap-0.0.22.tar.gz (168.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page