📅  最后修改于: 2022-03-11 14:45:35.848000             🧑  作者: Mango
代码示例1
import matplotlib.pyplot as plt
fig, ax = plt.subplots()
m = ax.imshow(X)
cbar = plt.colorbar(m)
cbar.set_label('X+Y')
plt.show()