On 03/07/2012 04:51 AM, Giovanni Plantageneto wrote: > Dear all, > after upgrading to 1.1.0 on my linux machine (from debian-backports), I > get an error (Can't set Attribute) with code looking like this: > > from pylab import figure > F=figure() > F.axes=[] > > Why is this so? Incidentally, going back to the previous available > version (0.99.3) solves the problem. > Cheers.
Figure.axes is now a read-only property to keep people from shooting themselves in the foot, or worse. Figure axes are internally tracked via a stack (AxesStack instance) rather than being maintained as a simple list. Eric ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users