|
From: <jou...@xt...> - 2007-12-26 15:07:38
|
The matplotlib.use() function was always a no-op after importing pylab, and there were occasional questions about it on the mailing list. It was changed fairly recently to raise an error in this case. Bug #1855454 points out that this is not backward compatible: an application that calls use() too late didn't do anything before the change, but now gets stopped with a traceback. I suggest changing the error to a warning, which I think would still deliver the message but would be compatible with (broken) legacy code. What do you think? http://sourceforge.net/tracker/index.php?func=detail&aid=1855454&group_id=80706&atid=560720 -- Jouni |