Spyder / Python:数字在后台

时间:2017-09-09 20:45:35

标签: python matplotlib spyder

我正在使用Spyder在交互模式中绘制一些数字。这些数字没有显示,它们在后台,我必须转到任务栏才能将焦点集中到那些窗口。以下是代码

fig = plt.figure()
ax = fig.add_subplot(111, projection='3d')
ax.scatter(x1,y1,z1, c='r', marker='o')
ax.scatter(x2,y2,z2, c='b', marker='o')
plt.show()       

0 个答案:

没有答案
相关问题