Re: FigureCanvasWxAgg not redrawn with wxpython 4.0.1 on Ubuntu 17.10
Dietmar Schwertberger <[email protected]> Wed, 5 Sep 2018 20:25:45 +0200
| Newsgroups | gmane.comp.python.wxpython.devel |
|---|---|
| Message-ID | <[email protected]> |
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. Mac OS with wxPython 4 (not sure about Classic): SetLogicalFunction did not work. Overlays have a scaling problem when using Hi DPI displays. The Overlay issue is only seen when drawing semi-transparent on the Overlay. Well, maybe there would have been a way to make ClientDC work, but it makes sense to use |BufferedPaintDC| anyway. Regards, Dietmar -- 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.