Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit eadeb74

Browse files
committed
TST: add a new test for placement
1 parent c37d9d6 commit eadeb74

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)