Do not use pylab, not thread safe. Use the normal OOP interface to matplotlib. Here is an example: https://github.com/mdipierro/canvas/blob/master/canvas.py#L27
On Monday, 8 July 2013 12:38:56 UTC-5, Lamps902 wrote: > > I'm attempting to do the following: > > img_buffer = io.BytesIO() > pylab.savefig(img_buffer, format = 'png') > img_buffer.seek(0) > IMG(_src=img_buffer, _alt = 'image buffer not displaying') > > This shows the _alt message. Any ideas on how to get it to show the image? > Thanks. > > > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

