Seaborn设置图形显示的效果
绘制三角函数
x = np.linspace(0,14,100) y1 = np.sin(x) y2 = np.sin(x+2)*1.25 def sinplot()...使用seaborn绘图
?...设置显示主题
seaborn提供可绘图的5种风格主题:’darkgrid’, ‘dark’, ‘white’, ‘whitegrid’, ‘ticks’
可以使用set_style来指定绘图的主题:...更改曲线的属性
seaborn预设了四种线条风格:’paper’, ‘notebook’, ‘talk’, ‘poster’
set_context方法可以设置线条的粗细:
?...和前面一样,假设想要设置线条粗细,可以更改‘lines.linewidth’: 2.8000000000000003,这个参数:
sns.set_context('talk', rc={'grid.linewidth