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 doing wrong?

This is using using Qt4Agg (I think, that's what's in my matplotlibrc)


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&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