Create a custom colormap by dragging points on the RGB intensity curves.
This is an example of how to use color maps in Matplotlib.
import pandas as pd
import matplotlib as mpl
import numpy as np
def create_colorbar_from_clipboard():
df = pd.read_clipboard(header=None)
df.columns = ['R', 'G', 'B']
c = np.array(df/255.0)
cm = mpl.colors.ListedColormap(c)
return cm
cmap = create_colorbar_from_clipboard()
Instructions: Copy the code above and use it in your Python environment (Jupyter Notebook) for color mapping.