我想知道是否有可能把70%的人口放在盒子里,就像红色的盒子里一样? 我知道Q3-Q1=IQR,但不知道这对我有什么帮助. 我正在使用matplotlib绘制我的框图.
def boxplot_one_micro_competence(one_micro):
"""
show the boxplot corresponding to the list in parameters
--------
Parameters :
one_micro - list - list of questions_id for the micro desired
--------
>>> boxplot_one_micro_competence(sere)
"""
plt.subplots(figsize=(4, 4))
plt.boxplot(df_micro_competence_groupe(one_micro)['score'], showcaps = False, whis = False, showfliers = False, labels = [one_micro])
plt.ylim(-0.1, 4.1)
plt.show()
boxplot_one_micro_competence(sere)
目前,我的代码看起来是这样的.
任何帮助我们都将不胜感激!
如果我的解释不够清楚,请让我知道;)
谢谢!