天舒云淡 2021-07-27 15:22 采纳率: 100%
浏览 93
已结题

关于#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>

  • 写回答

2条回答 默认 最新

  • CSDN专家-HGJ 2021-07-27 15:43
    关注

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

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

问题事件

  • 系统已结题 8月5日
  • 已采纳回答 7月28日
  • 创建了问题 7月27日