Skip to content

Commit 9f766a7

Browse files
committed
FIX: typo in attribute lookup
The attribute is `_is_drawing` not `._is_drawing`
1 parent 7bba84b commit 9f766a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/backend_qt5.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ def draw_idle(self):
477477
# accumulate multiple draw requests from event handling.
478478
# TODO: queued signal connection might be safer than singleShot
479479
if not (getattr(self, '_draw_pending', False) or
480-
getattr(self, '._is_drawing', False)):
480+
getattr(self, '_is_drawing', False)):
481481
self._draw_pending = True
482482
QtCore.QTimer.singleShot(0, self._draw_idle)
483483

0 commit comments

Comments
 (0)