简体   繁体   English

如何去除seaborn中线条后面的背景

[英]How to remove the background behind the lines in seaborn

how can I remove the background behind my lineplot in seaborn.如何在 seaborn 中删除线图后面的背景。 Thank you.谢谢你。 在此处输入图像描述

As per the official documentation of seaborn.lineplot , you can set ci to None .根据seaborn.lineplot的官方文档,您可以将ci设置为None

ci: int or “sd” or None ci:int或“sd”或无
Size of the confidence interval to draw when aggregating with an estimator.与估计量聚合时要绘制的置信区间的大小。 “sd” means to draw the standard deviation of the data. “sd”表示绘制数据的标准差。 Setting to None will skip bootstrapping.设置为 None 将跳过引导。

sns.lineplot(..., ci=None)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM