A Python version of the idpalette package, which provides colour palettes based on the ACEFA, IDDU, and IDEM logos.
Retrieve colour values with idpalette(name, n=None)
for use with, e.g., plotnine:
import idpalette as idp
import plotnine as pn
acefa_colours = idp.idpalette('acefa')
acefa_scale = pn.scale_colour_manual(values=acefa_colours)
Create colour maps with mpl_colour_map(name, n=None)
for use with matplotlib:
import idpalette as idp
acefa_cmap = idp.mpl_colour_map('acefa')
To install the latest release:
pip install idpalette
The code is distributed under the terms of the BSD 3-Clause license <https://opensource.org/licenses/BSD-3-Clause>
_ (see LICENSE
).