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

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

More to explore

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