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 e62d118 commit 5f30c06Copy full SHA for 5f30c06
test/test_annotate.py
@@ -37,7 +37,6 @@ def plot():
37
38
def test():
39
assert_equality(plot, __file__[:-3] + "_reference.tex")
40
- return
41
42
43
if __name__ == "__main__":
test/test_readme.py
@@ -1,6 +1,8 @@
1
import pathlib
2
3
import exdown
4
+import matplotlib as mpl
5
+import matplotlib.pyplot as plt
6
import pytest
7
8
this_dir = pathlib.Path(__file__).resolve().parent
@@ -12,3 +14,7 @@
12
14
)
13
15
def test_readme(string, lineno):
16
exec(string)
17
+
18
+ # Close figure and reset defaults
19
+ plt.close()
20
+ mpl.rcParams.update(mpl.rcParamsDefault)
0 commit comments