How to bring the blue bars in this histogram plot to the front?
问题 Is there a code that can bring the blue bars in this histogram plot to the front? If I remove alpha I can't see the blue bars at all. I'm using Python3 and Seaborn for this plot Thank you in advance g = sns.FacetGrid(df, hue='credit.policy', palette='coolwarm', height =5, aspect=2) g = g.map(plt.hist, 'fico', alpha=0.8, bins=30).add_legend() 回答1: You can achieve what you want with following code, import matplotlib.pyplot as plt plt.hist(df[df.Private == 'No']['F.Undergrad'], alpha = 0.6,color