On 11/02/2010 04:39 AM, Alan G Isaac wrote:
On 11/2/2010 10:06 AM, Benjamin Root wrote:
I have personally seen significant progress in this area, but there are a few
backends that aren't quite right (MacOSX backend, I believe?).
I believe multiple uses of ``show`` fail and are expected to fail
for the foreseeable future when using IDLE to run a script.
This may be true in general; the effort has gone, and will continue to
go, into getting consistent behavior in ipython and in standalone
scripts, not in idle. Nevertheless, the simple test running the
attached script with idle on my linux machine (ubuntu 10.10), with mpl
from svn, succeeded. This might depend on the default backend, gtkagg
in my case.
Eric
fwiw,
Alan Isaac
import numpy as np
import matplotlib.pyplot as plt
fig = plt.figure()
ax = fig.add_subplot(1,1,1)
ax.plot([1,2])
plt.show()
fig = plt.figure()
ax = fig.add_subplot(1,1,1)
ax.plot([1,2,1])
plt.show()
fig = plt.figure()
ax = fig.add_subplot(1,1,1)
ax.plot([3,2,1,2])
plt.show()
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users