8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34d7183 commit 6c7ab77Copy full SHA for 6c7ab77
lib/matplotlib/tests/test_backends_interactive.py
@@ -196,7 +196,9 @@ def _test_thread_impl():
196
plt.pause(0.5) # flush_events fails here on at least Tkagg (bpo-41176)
197
future.result() # Joins the thread; rethrows any exception.
198
plt.close() # backend is responsible for flushing any events here
199
- fig.canvas.flush_events() # TODO: debug why WX needs this only on py3.8
+ if plt.rcParams["backend"].startswith("WX"):
200
+ # TODO: debug why WX needs this only on py3.8
201
+ fig.canvas.flush_events()
202
203
204
_thread_safe_backends = _get_testable_interactive_backends()
0 commit comments