You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Medium term, the wx backends should be rewritten to use Refresh / RefreshRect instead of a ClientDC and also double buffering. This would also allow to unify code between OS X and the other platforms, as for OS X the rubberband is implemented in a different way. But for 2.2 that's probably too challenging...
I'll re-write the wx backends to use Refresh/EVT_PAINT/BufferedPaintDC, as soon as the currently open wx PRs are merged. A rubberband protoype is working.
This issue has been marked "inactive" because it has been 365 days since the last comment. If this issue is still present in recent Matplotlib releases, or the feature request is still wanted, please leave a comment and this label will be removed. If there are no updates in another 30 days, this issue will be automatically closed, but you are free to re-open or create a new issue if needed. We value issue reports, and this procedure is meant to help us resurface and prioritize issues that have not been addressed yet, not make them disappear. Thanks for your help!
Bug report
Bug summary
As of now, the
wx.ClientDC
is not yet working with wxPython 4.0.1 and the Wayland display server.The resulting problems:
canvas.draw()
does not update the screen content immediately, but only on the next Paint eventWorkarounds:
window.Refresh()
aftercanvas.draw()
A bug report for wxPython is open: wxWidgets/Phoenix#743
The original bug report: https://groups.google.com/forum/#!topic/wxpython-dev/8E4jtTjEmjI
Medium term, the wx backends should be rewritten to use
Refresh
/RefreshRect
instead of aClientDC
and also double buffering. This would also allow to unify code between OS X and the other platforms, as for OS X the rubberband is implemented in a different way. But for 2.2 that's probably too challenging...Matplotlib version
print(matplotlib.get_backend())
): Wx / WxAggThe text was updated successfully, but these errors were encountered: