我需要显示条形图的百分比。但是我不知道该怎么做。
sns.set_style('whitegrid') sns.countplot(y='type',data=df,palette='colorblind') plt.xlabel('Count') plt.ylabel('Type') plt.title('Movie Type in Disney+') plt.show()
python matplotlib seaborn plot-annotations countplot
countplot ×1
matplotlib ×1
plot-annotations ×1
python ×1
seaborn ×1