答案 0 :(得分:1)
如果您想一一完成,请参考下面的链接。 plt.boxplot(y1,boxprops = dict(linestyle ='-',linewidth = 3,color ='darkgoldenrod'),whiskerprops = dict(color ='black',linewidth = 5.0),capprops = dict(color ='黑色',线宽= 5.0)) 箱形线的boxprops和晶须线的whiskerprops,
https://matplotlib.org/tutorials/introductory/customizing.html?highlight=whiskerprops