J'essaie de créer une image en utilisant matplotlib.pyplot.imshow()
. Cependant, lorsque je cours le programme depuis ma console, il n'affiche rien?Comment puis-je afficher des images Pyplot sur une application de console?
Voici le code:
import matplotlib.pyplot
myimage = gen_image()
matplotlib.pyplot.gray()
matplotlib.pyplot.imshow(results)
Mais cela ne montre rien.
est similaire à SAGE (http://www.sagemath.org/), ce qui est probablement plus répandue. – nikow