8000 Add uint8 test · matplotlib/matplotlib@d670a4f · GitHub
[go: up one dir, main page]

Skip to content

Commit d670a4f

Browse files
committed
Add uint8 test
1 parent c61f567 commit d670a4f

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed
Loading

lib/matplotlib/tests/test_axes.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4946,6 +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'])
4950+
def test_bar_uint8():
4951+
plt.bar(np.array([0, 1, 2, 3], dtype=np.uint8), [2, 3, 4, 5])
4952+
4953+
49494954
@image_comparison(baseline_images=['date_timezone_x'], extensions=['png'])
49504955
def test_date_timezone_x():
49514956
# Tests issue 5575

0 commit comments

Comments
 (0)
0