d***@gmail.com
2017-04-03 12:00:24 UTC
Hello all,
I am fairly new to python and have used MatLab before. I often use the debugging function in MatLab and plot data at some line in my code.
I tried to do the same thing in python3. I made the following script:
import matplotlib.pyplot as plt
print('Hello World')
and stopped at the Hello World line. Then when I type in the command line:
plt.figure()
plt.plot([1,2,3,4])
plt.draw()
I can see a new figure popping up but I can't see anything in it (the window is not responding).
I did some googling and apparently is has something to do with the backend of matplotlib. It can't "create the figure while the program is halted in debug".
I think a fix has been created for the former IEP, but I can't find it. My question now: Is there a work-around in pyzo? Can somebody please post instructions?
Thanks,
Dominique
I am fairly new to python and have used MatLab before. I often use the debugging function in MatLab and plot data at some line in my code.
I tried to do the same thing in python3. I made the following script:
import matplotlib.pyplot as plt
print('Hello World')
and stopped at the Hello World line. Then when I type in the command line:
plt.figure()
plt.plot([1,2,3,4])
plt.draw()
I can see a new figure popping up but I can't see anything in it (the window is not responding).
I did some googling and apparently is has something to do with the backend of matplotlib. It can't "create the figure while the program is halted in debug".
I think a fix has been created for the former IEP, but I can't find it. My question now: Is there a work-around in pyzo? Can somebody please post instructions?
Thanks,
Dominique
--
You received this message because you are subscribed to the Google Groups "Pyzo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyzo+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Pyzo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyzo+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.