seaborn distplot cmap color by variable code example
Example 1: distribution seaborn
x = np.random.normal(size=100)
sns.distplot(x);
Example 2: cmap seaborn
palette or cmapseaborn color palette or matplotlib colormap. List-like object of colors as RGB tuples, or colormap object that can map continuous values to colors