Bug (?) in version 1.1.0 (Can't set Attribute)

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

···

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.