When plotting histplot, I can't apply the color palette, to have each be a different color in the histogram. What's the problem? In other plottings, the palette works. Here is my code:
plt.figure(figsize=(15, 8))
sns.histplot(x='age', data=df, bins = 20)
sns.color_palette('plasma', as_cmap=True)
plt.show()
Thanks for the help.