Re: FigureCanvasWxAgg not redrawn with wxpython 4.0.1 on Ubuntu 17.10

Dietmar Schwertberger <[email protected]> Thu, 8 Feb 2018 19:54:49 +0100
Newsgroups gmane.comp.python.wxpython.devel
Message-ID <[email protected]>
Unfortunately I don't have a VM with Ubuntu 17.
Is this the most recent version with Wayland instead of X?

If you change your timer to call not only self.canvas.draw, but also 
self.Refresh(), would it work then?
When you hide and show the window, will it redraw with the old image or 
will it then show the new one?

When calling the draw() method of the canvas, it will use wx.ClientDC to 
update the wx Window content.
Refresh() on the other hand would use the normal EVT_PAINT handler with 
a wx.PaintDC.
Recently Robin has already expressed concerns that the ClientDC could 
cause problems on more modern desktop architectures.

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.