Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/matplotlib/backends/backend_qt.py
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ def _draw_idle(self):
if not self._draw_pending:
return
self._draw_pending = False
if self.height() <= 0 or self.width() <= 0:
if _isdeleted(self) or self.height() <= 0 or self.width() <= 0:
return
try:
self.draw()
Expand Down
2 changes: 1 addition & 1 deletion requirements/testing/all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ coverage!=6.3
psutil
pytest!=4.6.0,!=5.4.0,!=8.1.0
pytest-cov
pytest-rerunfailures
pytest-rerunfailures!=16.0
pytest-timeout
pytest-xdist
pytest-xvfb
Expand Down
Loading