It is possible to use matplotlib but do not use the pylab interface because 
it is not thread safe.
Use this or examples of code from it:
https://github.com/mdipierro/canvas

On Monday, 8 July 2013 10:43:34 UTC-5, Lamps902 wrote:
>
> Is it possible to use pylab in web2py to generate a visualization? 
> Something along these lines:
>
> import pylab
>
> x, y = ...
> pylab.plot(x,y)
> pylab.show()
>
> Doing so produces this error: "no display name and no $DISPLAY environment 
> variable "
>
> Thank you.
>

-- 

--- 
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.


Reply via email to