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 fffe9f3 commit a8351b9Copy full SHA for a8351b9
1 file changed
lib/matplotlib/tests/test_gridspec.py
@@ -29,3 +29,9 @@ def test_height_ratios():
29
def test_repr():
30
ss = gridspec.GridSpec(3, 3)[2, 1:3]
31
assert repr(ss) == "GridSpec(3, 3)[2:3, 1:3]"
32
+
33
+ ss = gridspec.GridSpec(2, 2,
34
+ height_ratios=(3, 1),
35
+ width_ratios=(1, 3))
36
+ assert repr(ss) == \
37
+ "GridSpec(2, 2, height_ratios=(3, 1), width_ratios=(1, 3))"
0 commit comments