I have a histplot
that is not doing what I am expecting, and I'm unsure why. In my histplot
, I want a stacked chart comparing wins by black_first_move
, but instead of stacked bars, I'm getting the chart in the image below (and the palette's not being applied). Can anyone provide guidance on how to correctly stack this?
color=['white', 'lightgrey', 'black']
black_fmr_summary_low.head(2)
sns.histplot(
data=black_fmr_summary_low, multiple="stack",
x="black_first_move", y="wins", hue="winner",
palette=color) # color = ['black', 'white', 'gray'] but is not applying
plt.show()