We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 952227e + 530457e commit 2f3abfbCopy full SHA for 2f3abfb
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