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 466882f commit 6e511f1Copy full SHA for 6e511f1
lib/matplotlib/tests/baseline_images/test_axes/matshow.png
14.6 KB
lib/matplotlib/tests/test_axes.py
@@ -65,6 +65,16 @@ def test_spy():
65
ax.spy(a)
66
67
68
+@image_comparison(baseline_images=['matshow'],
69
+ extensions=['png'], style='mpl20')
70
+def test_matshow():
71
+ np.random.seed(19680801)
72
+ a = np.random.rand(32, 32)
73
+
74
+ fig, ax = plt.subplots()
75
+ ax.matshow(a)
76
77
78
@image_comparison(baseline_images=['formatter_ticker_001',
79
'formatter_ticker_002',
80
'formatter_ticker_003',
0 commit comments