关于#python#的问题:引力波程序

在学习引力波图像绘制时出现以下提示,不知道怎么办,
MatplotlibDeprecationWarning: savefig() got unexpected keyword argument "dpi" which is no longer supported as of 3.3 and will become an error two minor releases later
fig.tight_layout()
<Figure size 432x288 with 0 Axes>

尝试将matplotlib升级到3.4.0以上(有相应补丁),参考: https://github.com/matplotlib/matplotlib/pull/19503

升级后问题解决,谢谢!