8000 Remove image test for uint8 bar · matplotlib/matplotlib@17ec69e · GitHub
[go: up one dir, main page]

Skip to content

Commit 17ec69e

Browse files
committed
Remove image test for uint8 bar
1 parent 07de8b6 commit 17ec69e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed
Binary file not shown.

lib/matplotlib/tests/test_axes.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4946,9 +4946,11 @@ def test_ls_ds_conflict():
49464946
plt.plot(range(32), linestyle='steps-pre:', drawstyle='steps-post')
49474947

49484948

4949-
@image_comparison(baseline_images=['bar_uint8'], extensions=['png'])
49504949
def test_bar_uint8():
4951-
plt.bar(np.array([0, 1, 2, 3], dtype=np.uint8), [2, 3, 4, 5])
4950+
xs = [0, 1, 2, 3]
4951+
b = plt.bar(np.array(xs, dtype=np.uint8), [2, 3, 4, 5])
4952+
for (patch, x) in zip(b.patches, xs):
4953+
assert patch.xy[0] == x
49524954

49534955

49544956
@image_comparison(baseline_images=['date_timezone_x'], extensions=['png'])

0 commit comments

Comments
 (0)
0