简体   繁体   English

matplotlib&seaborn:如何摆脱线条?

[英]matplotlib & seaborn: how to get rid of lines?

I'm using the whitegrid style and it's fine except for the vertical lines in the background. 我使用的是whitegrid样式,它很好,除了背景中的垂直线。

I just want to retain the horizontal lines. 我只想保留水平线。

将参数传递到ax.yaxis.grid()和ax.xaxis.grid()中将在图中包含或省略网格

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

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