Problems with the command "show".

Hi folks,

I have a problem when I use the command “show” in matplotlib. I have this code (campo is a matrix of float numbers):

from matplotlib.pyplot import figure, show, savefig
from matplotlib import cm, colors


The first time that I run the code, there isn´t any problem but when I run the code twice, I can´t close the figure and Python give me this error message:

   "RunTime Error!

   This application has requested the RunTime to terminate it in an unusual way. Please contact the application´s support team for more information."

Somebody can help me?

Thank you in advance at all.

Public University of Navarra.


¿Tu fondo de escritorio es aburrido? Anímalo con las imágenes más espectaculares