From: Chris B. <chr...@no...> - 2012-05-01 16:05:54
|
Hi folks, It seems Ken McIvor has more or less disappeared. However, his wxMPL code is still useful and there are a few of us that are interested in maintaining it. What would be the procedure for getting it into a more "official" location -- like maybe a matplotlib toolkit? Or even mixed right in with the code (i.e. import matplotlib.wxmpl)? It's one file -- there really isn't that much to it, but it's nice to have. http://agni.phys.iit.edu/~kmcivor/wxmpl/ (the license looks BSD-ish to me) Thanks, -Chris On Mon, Apr 30, 2012 at 11:16 AM, Chris Barker <chr...@no...> wrote: > Hi Folks, > > I can't seem to find Ken McIvor -- Ken are you here? > > Anyway, here's a tiny patch of wxMPL to make it work with wxPython 2.9 > -- the only change is here, around line 1126: > > ## the following changed according to Robin Dunn's advice for 2.9 > ## -- but it probably wasn't working right before! > #topwin.Connect(wx.ID_ANY, self.GetId(), wx.wxEVT_ACTIVATE, > self.OnActivate) > topwin.Connect(self.GetId(), wx.ID_ANY, wx.wxEVT_ACTIVATE, > self.OnActivate) > > This change works fine with wxPython2.8, also. > > Attached is the whole file. > > -Chris > > > > -- > > Christopher Barker, Ph.D. > Oceanographer > > Emergency Response Division > NOAA/NOS/OR&R (206) 526-6959 voice > 7600 Sand Point Way NE (206) 526-6329 fax > Seattle, WA 98115 (206) 526-6317 main reception > > Chr...@no... -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no... |