问题描述
在pycharm中使用Matplotlib中的pyplot时,运行代码报错:
MatplotlibDeprecationWarning: Support for FigureCanvases without a required_interactive_framework attribute was deprecated in Matplotlib 3.6 and will be removed two minor releases later.

问题解决
查询资料后,现在将解决方法进行记录。