Skip to main content

A Python package providing matplotlib style for scientific plotting with traditional Chinese color palette.

Project description

cmplstyle

A Python package providing matplotlib style for scientific plotting with traditional Chinese color palette.

Installation

You can install the package using pip:

pip install cmplstyle

Features

  • A collection of 365 traditional Chinese colors.
  • Optmised matplotlib style for scientific plotting.

Traditional Chinese Colors (TCC)

Our color collection is sourced from the reference 《中国传统色:国民版色卡》 by 郭浩, featuring hues widely used in traditional Chinese art and design. See here a complete color reference.

The color names are in Chinese. Once the package is imported, the colors can be accessed by their names. For example,

import cmplstyle
import seaborn
seaborn.palplot(["群青", "西子", "胭脂", "桂黄", "苍苍", "青骊", "官绿", "米汤娇", "沧浪", "梅子青", "石榴裙"])

will plot a color palette with the specified colors in the list:

Example TCC Palette

LICENSE

This package is licensed under the MIT License.

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

cmplstyle-0.6.4.tar.gz (41.0 MB view details)

Uploaded Source

Built Distribution

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

cmplstyle-0.6.4-py3-none-any.whl (41.0 MB view details)

Uploaded Python 3

File details

Details for the file cmplstyle-0.6.4.tar.gz.

File metadata

  • Download URL: cmplstyle-0.6.4.tar.gz
  • Upload date:
  • Size: 41.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for cmplstyle-0.6.4.tar.gz
Algorithm Hash digest
SHA256 651f43f99ea1f53c1efc4958c342cef70481fb9824d11670be370066eadd2765
MD5 41755e787f6640c6bd77393a01ebeda2
BLAKE2b-256 2beec91ab7c4a3078467dfdc1c79582861b1126f37b6434df60c366a7d61ad27

See more details on using hashes here.

Provenance

The following attestation bundles were made for cmplstyle-0.6.4.tar.gz:

Publisher: publish-to-test-pypi.yml on jinyiliu/cmplstyle

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cmplstyle-0.6.4-py3-none-any.whl.

File metadata

  • Download URL: cmplstyle-0.6.4-py3-none-any.whl
  • Upload date:
  • Size: 41.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for cmplstyle-0.6.4-py3-none-any.whl
Algorithm Hash digest
SHA256 bc53c76db45c7325877fea6d9872e9e6de5a98c685699d0a22438739c1817b29
MD5 123ead5d74ac020f4443cbb0037c35a0
BLAKE2b-256 693a064cd8d704314eb971c75d5ca271dc8482e64c1658603eb2a6a212cd3a29

See more details on using hashes here.

Provenance

The following attestation bundles were made for cmplstyle-0.6.4-py3-none-any.whl:

Publisher: publish-to-test-pypi.yml on jinyiliu/cmplstyle

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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