Creating a colormap from a list of colors — Matplotlib 3.1.0 documentation

Creating a colormap from a list of colors — Matplotlib 3.1.0 documentation

More to explore

Based on this image's title: “Creating a colormap from a list of colors — Matplotlib 3.1.0 documentation