【发布时间】:2021-07-14 16:13:03
【问题描述】:
请问这个数字格式怎么写?
import matplotlib.pyplot as plt
fig, ax = plt.subplots(figsize=(14, 8))
a = 2
b = 5
c = 5
plt.text(5, 400, "${}^+^{}_-_{}$ d.".format(a, b, c))
plt.show()
【问题讨论】:
标签: python-3.x matplotlib text format