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

Commiteadeb74

Browse files
committed
TST: add a new test for placement
1 parentc37d9d6 commiteadeb74

File tree

3 files changed

+21
-21
lines changed

3 files changed

+21
-21
lines changed
Binary file not shown.

‎lib/matplotlib/tests/baseline_images/test_image/image_placement.svg

Lines changed: 20 additions & 20 deletions
Loading

‎lib/matplotlib/tests/test_image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1163,7 +1163,7 @@ def test_image_placement():
11631163
The red box should line up exactly with the outside of the image.
11641164
"""
11651165
fig,ax=plt.subplots()
1166-
ax.plot([0,0,1,1,0], [0,1,1,0,0],color='r',lw=0.4)
1166+
ax.plot([0,0,1,1,0], [0,1,1,0,0],color='r',lw=0.1)
11671167
np.random.seed(19680801)
11681168
ax.imshow(np.random.randn(16,16),cmap='Blues',extent=(0,1,0,1),
11691169
interpolation='none',vmin=-1,vmax=1)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp