如何在Python中的标签中添加箱线图百分位数(箱百分比,晶须百分比)

时间:2020-06-08 06:24:46

标签: python pandas matplotlib seaborn

如何添加这样的标签?

enter image description here

我的情节看起来像这样:

enter image description here

代码如下:

import numpy as np
import seaborn as sns
import matplotlib.pyplot as plt
import pandas as pdele = pd.read_csv("element.csv")

ele.head()
sns.boxplot(x = 'Element', y = 'Value', hue = "Season", data = ele, showmeans=True,)
plt.show()

0 个答案:

没有答案