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 250e840 commit f9d8cd7Copy full SHA for f9d8cd7
1 file changed
lib/matplotlib/tests/test_tightlayout.py
@@ -323,3 +323,5 @@ def test_collapsed():
323
plt.tight_layout()
324
p2 = ax.get_position()
325
assert p1.width == p2.width
326
+ # test that passing a rect doesn't crash...
327
+ plt.tight_layout(rect=[0, 0, 0.8, 0.8])
0 commit comments