Using with Python

You can now also use {PrettyCols} palettes with your Python plots.


Install the package under the Python/ directory directly:

python install

or via pip:

pip install .

or place the file into your source directory.

Using with matplotlib

import prettycols
import matplotlib.pyplot as plt

colors = pretty_cols(name="Bright", n=3, palette_type="discrete")
x = ['A', 'B', 'C']
value = [1, 2, 3], value, color=colors)