Saturday, 15 January 2011

python - Matplotlib drawings not shown as non-root user -



python - Matplotlib drawings not shown as non-root user -

knowing question, 100times asked, no solution helps me.

trying create simple plot:

import matplotlib.pyplot p p.plot(range(20), range(20)) p.show()

i used several backends in ~/.matplotlib/matplotlibrc, such gtk, gtkagg, qt4agg, gdk, agg, svg, kairo,...), adding line

backend: <backend>

but nil happens when seek plot. no error message, nothing. used both standard console python2.7 , ipython console.

i'm using centos gnome desktop. matplotlib 1.2.0.

do have ideas?

note: realized problem non-root user.

python matplotlib

No comments:

Post a Comment