• latex和python的format格式化输出冲突怎么办?
  • python

如题。想输出R平方,冲突了。

ax.text(3.9, 1.95, r"Normal: coef_: {:.2f} intercept: {:.2f} R$^{2}$: {:.4f}". format(coef[0,0], intercept[0], score1), fontsize = 8)

  • Willson1991    2019-11-01 11:08:21
  • 阅读 802    收藏 0    回答 1
  • 邀请
  • 收藏
  • 分享
发送
登录 后发表评论
  • 51testing软件测试圈微信