Colormaps
Overview
DRC-branded Matplotlib colormaps.
Available Colormaps
drc_paletteanddrc_palette_rdrc_diverginganddrc_diverging_rdrc_dark_diverginganddrc_dark_diverging_rdrc_coolanddrc_cool_rdrc_warmanddrc_warm_r
Quick Start
import matplotlib.pyplot as plt
from drcutils.brand.colormaps import drc_diverging, drc_palette
plt.imshow([[0, 1], [2, 3]], cmap=drc_diverging)
plt.figure()
plt.imshow([[0, 1], [2, 3]], cmap=drc_palette)
plt.show()
Visual Previews
drc_palette
drc_palette_r
drc_diverging
drc_diverging_r
drc_dark_diverging
drc_dark_diverging_r
drc_cool
drc_cool_r
drc_warm
drc_warm_r
API Reference
Matplotlib colormaps derived from DRC brand colors.
- drcutils.brand.colormaps.drc_cool = 'drc_cool'
Cool gradient from white to black through blue/teal tones.
- drcutils.brand.colormaps.drc_dark_diverging = 'drc_dark_diverging'
Diverging colormap with a dark center.
- drcutils.brand.colormaps.drc_diverging = 'drc_diverging'
Diverging colormap with white center.
- drcutils.brand.colormaps.drc_palette = ['#000000', '#1A4C49', '#4D8687', '#57B7BA', '#EA8534', '#DF5127']
Listed colormap in canonical DRC palette order.
- drcutils.brand.colormaps.drc_warm = 'drc_warm'
Warm gradient from white to black through orange/red tones.