cmap_linear = mpl.colors.LinearSegmentedColormap.from_list( name="linear-monochromatic-blue", colors=["#051923", "#003554", "#006494", "#0582ca", "#00a6fb"] ) cmap_linear