Re: FigureCanvasWxAgg not redrawn with wxpython 4.0.1 on Ubuntu 17.10
Chris Barker <[email protected]> Mon, 12 Feb 2018 09:47:27 -0800
| Newsgroups | gmane.comp.python.wxpython.devel |
|---|---|
| Message-ID | <CALGmxEJ85teHWXFytNOxN9a-Oh-bupA-FvAa5tVYu2jE3r04AA@mail.gmail.com> |
On Fri, Feb 9, 2018 at 12:21 PM, Dietmar Schwertberger < [email protected]> wrote: > I would guess that Robin will comment on the issue. If it's made > 'official' that PaintDC is deprecated due to these problems, then I will > have a look and fix the Matplotlib wx backends. It's not only Wayland but > also Mac OS that has minor problems. > Last I looked, the wxAgg backend needed some love. There were a LOT of "extra" drawing/blitting, whatever calls in there. Presumably, each one was added to address an issue (maybe each platform required different hacks...) and in the end, extra drawing calls are better than it not working under some situations.... But the point is that it would be really nice to modernize the wx backend -- so if you have some time to look, please do! Also, a new maintainer of the wx back-end was just added to the MPL team, so be sure to reach out and see if this is already being worked on -- and offer your help? Final note: also list I found (pre-Phoenix), that despite PaintDC rather than ClientDC being the "right" way to do it -- particularly on OS-X, I could not get immediate drawing without a ClientDC -- i.e. some drawing following mouse movement. Hopefully that works better now. -CHB -- 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 [email protected] -- You received this message because you are subscribed to the Google Groups "wxPython-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.