Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a8d8877

Browse files
committed
Merge pull request #5352 from mdboom/fix-wx-flicker
Fix #4332. Fix flicker in wx* backends closes #4968
2 parents b2bb5ab + 0167f9a commit a8d8877

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)