在整理金融数据划分波段的时候,出现了图片保存后,底纹像是马赛克一样
fig,ax=plt.subplots(figsize=(20,8))
ax.plot(x1,indexx,label="沪深300")
ax.plot(x2],valuey,color="red",label="波段")
ax.set_xticks(x1[::20],date[::20],rotation=90,fontsize=15)
plt.legend(fontsize=15)
plt.savefig('波段划分IF300.png',dpi=100,bbox_inches = 'tight')
plt.show()
在jupyter notebook上看起来没问题
但是保存后就

背景像是马赛克,能让背景也是白的嘛,请问如何解决