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 952227e commit 530457eCopy full SHA for 530457e
1 file changed
lib/matplotlib/tests/test_figure.py
@@ -581,7 +581,7 @@ def test_invalid_layouts():
581
with pytest.warns(UserWarning):
582
# this should warn,
583
fig.subplots_adjust(top=0.8)
584
- assert not(fig.get_constrained_layout())
+ assert not fig.get_constrained_layout()
585
586
# Using layout + (tight|constrained)_layout warns, but the former takes
587
# precedence.
0 commit comments