当我运行python文件在google colab笔记本上使用matplotlib绘制图片时,它显示<;'图形尺寸640x480,带1个轴'>
这是密码!python/content/sample_data/test.py
test.py中的Python代码如下:
import numpy as np
from matplotlib import pyplot as plt
x = np.arange(1,11)
y = 2 * x + 5
plt.title("Matplotlib demo")
plt.xlabel("x axis caption")
plt.ylabel("y axis caption")
plt.plot(x,y)
plt.show()
以前有人有过同样的问题吗
目前没有回答
相关问题 更多 >
编程相关推荐