Fixed by switching the backend from WXAgg to MacOSX.
starz1010101 wrote: > > I can't force pyplot to draw in the middle a function. For example, this > function does not plot the sine before the user prompt, only after the > entire function executes: > > import matplotlib.pyplot as plt > import numpy as np > > def plot_now(): > plt.ion() > plt.figure() > x = 2*np.pi*np.linspace(0.0, 1.0, 100) > plt.plot( x, np.sin(x) ) > plt.draw() > plt.draw() > q = raw_input( 'anything: ') > > I'm using the enthought python distribution for mac in ipython. > > > > > -- View this message in context: http://old.nabble.com/Can%27t-force-draw-tp30107286p30144358.html Sent from the matplotlib - users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users