matplotlib grid 函数参数

https://blog.csdn.net/weixin_41789707/article/details/81035997

grid(b, which, axis, color, linestyle, linewidth, **kwargs)

b : 布尔值


which : 取值为'major', 'minor''both'
默认为'major'


axis : 取值为‘both’ ,  ‘x’ ,‘y’


linestyle :设置网格线的风格 
简写 ls

 

posted @ 2021-08-29 15:40  CodeYaSuo  阅读(301)  评论(0编辑  收藏  举报