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

Skip to content

Commit 14934f5

Browse files
authored
Fix failing test
1 parent 158ee50 commit 14934f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/tests/test_units.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def test_scatter_element0_masked():
159159

160160
times = np.arange('2005-02', '2005-03', dtype='datetime64[D]')
161161

162-
y = np.arange(len(times))
162+
y = np.arange(len(times), dtype='float')
163163
y[0] = np.nan
164164
fig, ax = plt.subplots()
165165
ax.scatter(times, y)

0 commit comments

Comments
 (0)