Python package containing pretty colour palettes. This package is based on the R implementation available at github.com/nrennie/PrettyCols. The Python implementation of {PrettyCols} is based on the code from the {MetBrewer} package.
Install using pip from GitHub:
pip install git+https://github.com/nrennie/PrettyPyCols.git#egg=PrettyColsThen load the package (and matplotlib):
import PrettyCols as pc
import matplotlib.pyplot as pltcolors = pc.prettycols(name="Bright", n=3, palette_type="discrete")
x = ['A', 'B', 'C']
value = [1, 2, 3]
plt.bar(x, value, color=colors)
plt.show()