[web2py] Re: matplotlib passing parameters from the view

2016-05-06 Thread Niphlod
if your generated url is /a/c/f/*graf_comp_gior*?var1=a&var2=b I assure you that those will be passed. as for the graphing library, I highly suggest to switch to a javascript based solution rather than a python one for any web site. On Friday, May 6, 2016 at 8:50:21 AM UTC+2, Paolo Amboni wrote:

[web2py] Re: matplotlib passing parameters from the view

2016-05-05 Thread Paolo Amboni
Same problem! the args and var are not passed to the receiving function in this specific case. (I tried both args and vars alone first). With session all works fine. I find very complex the way web2py handle matplotlib plots. Is there other plotting library that better integrate in web2py framewo

[web2py] Re: matplotlib passing parameters from the view

2016-05-05 Thread Niphlod
there's a problem in your syntax. it's usually URL('blabla', args=[], vars=dict()) while your code reports args=[..., dict=()] On Thursday, May 5, 2016 at 9:53:44 AM UTC+2, Paolo Amboni wrote: > > I stored the id in a session variable and it works fine!! > But why the URL helper didn't send the

[web2py] Re: matplotlib passing parameters from the view

2016-05-05 Thread Paolo Amboni
I stored the id in a session variable and it works fine!! But why the URL helper didn't send the args to the function? Il giorno giovedì 5 maggio 2016 09:36:32 UTC+2, Paolo Amboni ha scritto: > > I'm trying to build a single function (in a controller) that generate > different matplotlib graph..