matplotlib ne pas montrer mes dessins même si je l'appelle pyplot.show()

Besoin d'aide sur matplotlib. Oui, je n'ai pas oublié l'appel de la pyplot.show().

$ ipython --pylab

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

Il retourne matplotlib.lines.Line2D at 0xade2b2c que la sortie.

p.show()

Il n'y a rien à se produire. Aucun message d'erreur. Pas de nouvelle fenêtre. Rien. J'ai installer matplotlib par l'utilisation de pip et je n'ai pas de messages d'erreur.

Détails:

Que j'utilise,

  • Ubuntu
  • IPython v0.11
  • Python v2.6.6
  • matplotlib v1.0.1
InformationsquelleAutor Baskaya | 2011-09-23