<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hi friends<br>
pls help with debugging problem<br>
the mutter is:<br>
during debugging the debug processes stacks when fig is created<br>
for example, in code<br>
<br>
import random<br>
<br>
import matplotlib.pyplot as plt<br>
from pylab import *<br>
<br>
<br>
x= 23;<br>
y = 111111;<br>
print(23456)<br>
plt.plot(range(10))<br>
<br>
plot([1,2,3])<br>
show()<br>
<br>
print(11111111)<br>
<br>
a=888<br>
<br>
it is impossible after show() to continue debug<br>
as stated in<br>
Beginning Python Visualization - Crafting Visual Transformation Scripts
(2009)<br>
page 187<br>
<br>
Note If you’re not using matplotlib interactively in Python, be sure<br>
to call the function show() after all<br>
graphs have been generated, as it enters a user interface main loop<br>
that will stop execution of the rest of<br>
your code. The reason behind this behavior is that matplotlib is<br>
designed to be embedded in a GUI as well.<br>
In Windows, if you’re working from interactive Python, you need only<br>
issue show() once; close the figures<br>
(or figures) to return to the shell. Subsequent plots will be drawn<br>
automatically without issuing show(), and<br>
you’ll be able to plot graphs interactively.<br>
<br>
Best Regards<br>
Sandy <br /><hr />Hotmail: Free, trusted and rich email service. <a href='https://signup.live.com/signup.aspx?id=60969' target='_new'>Get it now.</a></body>
</html>