我试图复制seaborn在小提琴情节中的kdeplotshade=True
显示。你知道吗
但是,sns.violinplot()
不接受shade
参数。我可以使用ax.collections[0]
访问violinplot中的axis集合,然后同时使用set_facecolor()
和set_edgecolor()
更改绘图颜色。但是,我不知道如何给绘图的facecolor指定alpha值。我可以使用set_alpha()
,但这会设置面和边颜色的alpha值。你知道吗
Tags:
目前没有回答
相关问题 更多 >
编程相关推荐