在学习引力波图像绘制时出现以下提示,不知道怎么办,
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>

关于#python#的问题:引力波程序
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-
2条回答 默认 最新
- CSDN专家-HGJ 2021-07-27 15:43关注
尝试将matplotlib升级到3.4.0以上(有相应补丁),参考: https://github.com/matplotlib/matplotlib/pull/19503
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报