Matplotlib Support for FigureCanvases without a required_interactive_framework
Matplotlib升级到3.6后程序执行告警MatplotlibDeprecationWarning示例代码执行时警告信息解决方法示例代码importmatplotlib.pyplotaspltimportnumpyasnpplt.style.use(‘_mpl-gallery’)x=np.linspace(0,10,100)y=4+2*np.sin(2*x)fig,ax=plt.subplot