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 3136906 commit 4d412fdCopy full SHA for 4d412fd
1 file changed
lib/matplotlib/tests/test_table.py
@@ -5,13 +5,20 @@
5
6
import matplotlib.pyplot as plt
7
import numpy as np
8
-from matplotlib.testing.decorators import image_comparison
+from matplotlib.testing.decorators import image_comparison, cleanup
9
10
from matplotlib.table import CustomCell
11
from matplotlib.path import Path
12
from nose.tools import assert_equal
13
14
15
+@cleanup
16
+def test_non_square():
17
+ # Check that creating a non-square table works
18
+ cellcolors = ['b', 'r']
19
+ plt.table(cellColours=cellcolors)
20
+
21
22
@image_comparison(baseline_images=['table_zorder'],
23
extensions=['png'],
24
remove_text=True)
0 commit comments