matplotlib in openSUSE

不打扰是莪最后的温柔 提交于 2019-12-12 04:02:23

问题


I'm trying to use a python script under openSUSE. I did this script under ubuntu and it work well I have installed matplotlib and when I run the script it seems to work (I can do print "It go until here" at any place of the script it work.

But it never open the matplotlib windows....

EDIT

The shortest program that do not work is :

import matplotlib.pyplot as plt
a=range(10)
plt.plot(a)
plt.show()

I think the problem come from using matplotlib under openSUSE OS... but I do not understand exactly why .... there is no error message....

来源:https://stackoverflow.com/questions/44055078/matplotlib-in-opensuse

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!