On 2/6/07, Nicolas <[EMAIL PROTECTED]> wrote: > Thanks a lot for your reply.
You're welcome. Please keep correspondence on the list so others an contribute and benefit. > I read this story of lazy value in the doc, but I didn't understand the link > with the the Affine function. All of the matplotlib transformations are by reference. We want to be able to do build the transform like so: a = someval t = Affine(a,b,c,d,e,f) and then later in the code do a.set(23) and have the transformation automatically updated. You can't do this if a is a scalar value (eg a float) so we have a custom class Value which stores a pointer to a float. When you do a = Value(23) t = Affine(a,b,c,d,e,f) and later do a.set(23) then t will be updated. We also support arithmetic on Values, so you can do z = Value(3) x = Value(2) t = Affine(z*x,b,c,d,e,f) and later if you do x.set(4) then the transform will be updated to have the value a=12 >From a user perspective, it means you need do do t = Affine(Value(a), Value(b), .....) if a and b are floats. This is what the make_affine function that I posted does. > Additionnaly, I noticed that antialiasing doesn't seem to work anymore in > function pie with recent (ie. 0.87.5) version of matplotlib on WxAgg (?) Odd, I see that too. Haven't been able to pinpoint the problem yet... JDH ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users