mdipierro schrieb:
> can you explain more?
referencing the example given when starting the thread:

the following is wrong:

def image_mat_form():
     number = float(request.args[0])

    [...]

     import matplotlib.pyplot as plt
     import numpy as np
     import scipy as sp
     import scipy.stats as st

     plt.hold(hold_check)
     t = np.arange(0.0 , 5.0, 0.05)
     s1 = sin(number * np.pi * t )
     s2 = s1 * exp(-t)

     [...]

It should be np.sin & np.ext. But if I forget to reference the module 
with "np." web2py does not issue an error ticket. It
just doesn't render any image.



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to