Provider for RWTH colormap aliases
Project description
RWTH-colors
This package provides hexcodes for the official RWTH Aachen colorspace as documented by the RWTH corporate design (CD) guidelines.
Installation
Installing from pypi provides the rwth_colors
module:
pip install rwth-CD-colors
Alternatively, install from source:
pip install <path_to_folder/repository>
Usage
from rwth_colors import colors
from matplotlib import pyplot as plt
plt.bar(1, 1, color=colors[("blue", 50)]) # Opacity 50%. Available values: 100%, 75%, 50%, 25%, 10%
plt.bar(1, 1, color=colors["blue"]) # Alias for the default blue color (opacity 100%)
Available colors (requires matplotlib)
from rwth_colors import plot_colors
plot_colors()
![Available colors.png](Available colors.png)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rwth-CD-colors-0.1.1.tar.gz
(2.6 kB
view details)
Built Distribution
File details
Details for the file rwth-CD-colors-0.1.1.tar.gz
.
File metadata
- Download URL: rwth-CD-colors-0.1.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba83dfd74eb150c94698dcc5a4fbfdfba860c1063b8d19b39de556778b6884c8 |
|
MD5 | 9f335ebdc93ed60227346889beeeca34 |
|
BLAKE2b-256 | 0708da992c4432c72c4cf9f43ba4426eb030923c952a7a19b9fb97e87994b976 |
File details
Details for the file rwth_CD_colors-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: rwth_CD_colors-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3285e26804321843dbe94fcb8bf5a631efde0e85a2a08c12e6d54664f35394ed |
|
MD5 | 2844b134ebc00c6498f0039f926e5730 |
|
BLAKE2b-256 | d5f3f50f99d2e69e25b6df5f941c72c88024b6a229b6c9f1cc8d453feeef886a |