Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfbe12fa

Browse files
committed
TST: tight_layout having negative width axes
1 parent2f4516f commitfbe12fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎lib/matplotlib/tests/test_tightlayout.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ def test_big_decorators_one():
285285

286286
deftest_big_decorators_horizontal():
287287
"Test that warning emited when xlabel too big"
288-
fig,axs=plt.subplots(1,2,figsize=(3,2))
288+
fig,axs=plt.subplots(1,2,figsize=(3,2))
289289
axs[0].set_xlabel('a'*30)
290290
axs[1].set_xlabel('b'*30)
291291
withwarnings.catch_warnings(record=True)asw:
@@ -295,7 +295,7 @@ def test_big_decorators_horizontal():
295295

296296
deftest_big_decorators_vertical():
297297
"Test that warning emited when xlabel too big"
298-
fig,axs=plt.subplots(1,2,figsize=(3,2))
298+
fig,axs=plt.subplots(2,1,figsize=(3,2))
299299
axs[0].set_ylabel('a'*30)
300300
axs[1].set_ylabel('b'*30)
301301
withwarnings.catch_warnings(record=True)asw:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp