Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

japanmap

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

japanmap

`japanmap` is a package for Japanese map.

  • 0.6.0
  • PyPI
  • Socket score

Maintainers
1

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

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc