Re: FigureCanvasWxAgg not redrawn with wxpython 4.0.1 on Ubuntu 17.10
Matthew Newville <[email protected]> Wed, 5 Sep 2018 14:30:05 -0700 (PDT)
| Newsgroups | gmane.comp.python.wxpython.devel |
|---|---|
| Message-ID | <[email protected]> |
On Wednesday, September 5, 2018 at 1:25:48 PM UTC-5, Dietmar Schwertberger wrote: > > On 9/5/2018 3:34 AM, Matthew Newville wrote: > > Is there a problem I am not seeing that others are seeing? > > Is there a better way to draw a rubber-band box on top of a > matplotlib canvas? > > These platforms made problems, IIRC: > > Wayland with wxPython 4 (it was working with Classic where wx was using X > compatibility mode): > Overlays did not work. > For a screen update, a Refresh was needed as the direct drawing using > ClientDC did not update the screen. > Hm, I don't see those problems. Well, maybe I am not understanding what the problem is. > Mac OS with wxPython 4 (not sure about Classic): > SetLogicalFunction did not work. > I don't see that. > Overlays have a scaling problem when using Hi DPI displays. The Overlay > issue is only seen when drawing semi-transparent on the Overlay. > Hm, well maybe I'm not using Retina displays enough. > > Well, maybe there would have been a way to make ClientDC work, but it > makes sense to use BufferedPaintDC anyway. > I don't have any preference for how such overlays (like rubber band boxes or persistent graphics on a live image) are done, but I would prefer to have a stable way of doing these things and would like to know if there are potential problems even if I am not currently seeing them. Can you (or someone) post example code that demonstrates these problems? --Matt -- 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.