On 7/29/14, 10:49 PM, Eric Firing wrote:
 > On 2014/07/29, 7:04 PM, JBB wrote:
 >> Hello,
 >>
 >> I am relatively new to Python, numpy, matplotlib, etc., with a
 >> reasonable amount of Matlab experience.

...[ Problem and test code trimmed ]

 >
 > First, at least initially for this sort of thing, run in "ipython
 > --pylab", and don't use any "ion()" or "ioff()".
 >
 > Second, replace the "show(); time.sleep(1)" with "pause(1)".
 >
 > I think that will do it.
 >
 > Eric
 >

Thank you, very much.  It did indeed work.

Is there a pointer to why this worked when my initial approach did not? 
  I thought from the documentation/videos that preparing a plot with 
relevant commands then issuing the show() command was the preferred 
approach within Python/Matplotlib.

JBB




------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to