[Matplotlib-users] don't understand interactive mode

2014-01-08 Thread Neal Becker
I am trying to update a figure in a loop: import matplotlib.pyplot as plt plt.ion() plt.figure (1) def c2r (z): return z.real, z.imag plt.hexbin (*c2r (run_ofdm (xconst_pred)[:opt.used]), mincnt=1) plt.draw() But no figure appears on the screen. What am I doi

Re: [Matplotlib-users] don't understand interactive mode

2014-01-08 Thread rhodeshart
Hi I don't have a satisfactory answer, but have found I needed two draw() commands to get screen output. I dont understand why. Cheers Rhodes -- View this message in context: http://matplotlib.1069221.n5.nabble.com/don-t-understand-interactive-mode-tp42686p42691.html Sent from the matp