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.
1 parent bc4823f commit 466882fCopy full SHA for 466882f
2 files changed
lib/matplotlib/tests/baseline_images/test_axes/acorr.png
12.7 KB
lib/matplotlib/tests/test_axes.py
@@ -43,6 +43,16 @@ def test_get_labels():
43
assert ax.get_ylabel() == 'y label'
44
45
46
+@image_comparison(baseline_images=['acorr'], extensions=['png'], style='mpl20')
47
+def test_acorr():
48
+ np.random.seed(19680801)
49
+ n = 512
50
+ x = np.random.normal(0, 1, n).cumsum()
51
+
52
+ fig, ax = plt.subplots()
53
+ ax.acorr(x, maxlags=n - 1)
54
55
56
@image_comparison(baseline_images=['spy'], extensions=['png'], style='mpl20')
57
def test_spy():
58
np.random.seed(19680801)
0 commit comments