Loading...
Loading...
Colorblind-safe categorical sets, sequential and diverging ramps — from your brand color.
Bar
Line
Donut
import matplotlib as mpl
from matplotlib.colors import LinearSegmentedColormap
brand = ['#417DFC', '#E862F9', '#B10023', '#D19A00', '#17A21B', '#00818A']
# categorical
mpl.rcParams['axes.prop_cycle'] = mpl.cycler(color=brand)
# continuous
brand_cmap = LinearSegmentedColormap.from_list('brand', brand)