🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

rwth-CD-colors

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rwth-CD-colors

Provider for RWTH colormap aliases

0.1.1
PyPI
Maintainers
1

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)

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