From: Nils W. <nw...@ia...> - 2008-07-29 16:19:33
|
On Tue, 29 Jul 2008 12:10:09 -0400 Paul Kienzle <pki...@ni...> wrote: > On Tue, Jul 29, 2008 at 05:46:59PM +0200, Nils Wagner >wrote: >> On Mon, 28 Jul 2008 15:32:38 -0400 >> >> WxPython experts: what version do we require? If it >>is >> >>earlier than >> >> 2.8, then it appears we badly need a testing >>procedure >> >>to ensure >> >> compatibility. (A testing procedure for python >>version >> >>compatibility >> >> would be nice, also--has anyone looked into what it >> >>would take to set up >> >> and run a buildbot?) > > Rather than cycling through the mailing list for each > individual problem, can you please put together a patch > that works on wx-2.6? > > Preferably program to the 2.8 interface so that we don't > build up too much cruft. For example, >IsVisible->IsShownOnScreen > can be handled in __init__ with (untested!): > > if not hasattr(self,'IsShownOnScreen'): > self.IsShownOnScreen = self.IsVisible > > I would like to test the changes on 2.8, but I'm gone > July 31 to after Scipy. > > - Paul Hi Paul, Thank you for your prompt reply. Where should I add the lines if not hasattr(self,'IsShownOnScreen'): self.IsShownOnScreen = self.IsVisible I assume the corresponding file is in the directory matplotlib/lib/matplotlib/backends Is that correct ? I will try it asap. Thanks in advance Nils |