Skip to content

Commit 0167f9a

Browse files
committed
Fix #4332. Fix flicker in wx* backends
1 parent 3c5d20d commit 0167f9a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/matplotlib/backends/backend_wx.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -834,9 +834,6 @@ def gui_repaint(self, drawDC=None, origin='WX'):
834834
# not called from OnPaint use a ClientDC
835835
drawDC = wx.ClientDC(self)
836836

837-
# ensure that canvas has no 'left' over stuff when resizing frame
838-
drawDC.Clear()
839-
840837
# following is for 'WX' backend on Windows
841838
# the bitmap can not be in use by another DC,
842839
# see GraphicsContextWx._cache

0 commit comments

Comments
 (0)