I am using Spyder 2.3 on Windows 7 Pro with 64 bit python 3.3.3.  I have 
not customized the spyder settings.

The following code displays a figure window and plot.  It will work once.

from matplotlib import pyplot as plt 

x=range(0,10)

y=[val**2 for val in x]

ax=plt.subplot(111)

f = ax.plot(x,y)

plt.show()


If I manually close the figure and then rerun:


ax=plt.subplot(111)

f = ax.plot(x,y)

plt.show()


I get a new figure, but no contents unless I either do a savefig or 
pan/zoom on the figure.


I have had variations on this problem with other plot types but wanted a 
simple example to illustrate the problem.  This has implications for a 
program I am trying to build that does dynamic updating of plots.


Thanks







-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.

Reply via email to