From: John Hunter <jdhunter@ac...> - 2006-02-24 20:17:37
>>>>> "nicky" == nicky van foreest <vanforeest@...> writes:
nicky> Hi, There appears to be a bug in line 212 of the example
nicky> finance_work2.py. It reads "setp ...", which does not
nicky> work. Changing it to "set ..." repaired the problem.
You are probably using an old version of matplotlib. Recent versions
use setp rather than set to avoid clobbering the python2.4 built-in
The change you made is fine for old versions of matplotlib, but will
no work for newer versions.
In general, it is a good idea to periodically read
which document these kinds of changes by version number. Eg, you will
see in the latter document that setp was introduced in 0.84. You can
find out your version number by doing
>>> import matplotlib