I am using seaborn to make a colormap and using the below code:
import seaborn as sns
cmap = sns.color_palette("dark:#034694", as_cmap=True)
Now I want the list of all the color-codes from this cmap, its type is matplotlib.colors.LinearSegmentedColormap. What should I do to get all the color-codes from the variable cmap.