Thanks to visit codestin.com Credit goes to github.com
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.
2 parents 1377f24 + 4a20d0f commit 5cdd827Copy full SHA for 5cdd827
1 file changed
lib/matplotlib/tests/test_texmanager.py
@@ -70,6 +70,7 @@ def test_openin_any_paranoid():
70
'import matplotlib.pyplot as plt;'
71
'plt.rcParams.update({"text.usetex": True});'
72
'plt.title("paranoid");'
73
- 'plt.show(block=False);'],
74
- env={**os.environ, 'openin_any': 'p'}, check=True, capture_output=True)
+ 'plt.gcf().canvas.draw();'],
+ env={**os.environ, 'MPLBACKEND': 'Agg', 'openin_any': 'p'},
75
+ check=True, capture_output=True)
76
assert completed.stderr == ""
0 commit comments