Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c250254 commit d00127eCopy full SHA for d00127e
1 file changed
lib/matplotlib/tests/test_units.py
@@ -127,3 +127,8 @@ def test_jpl_barh_units():
127
fig, ax = plt.subplots()
128
ax.barh(x, w, left=b)
129
ax.set_xlim([b-1*day, b+w[-1]+1*day])
130
+
131
132
+def test_emtpy_arrays():
133
+ # Check that plotting an empty array with a dtype works
134
+ plt.scatter(np.array([], dtype='datetime64[ns]'), np.array([]))
0 commit comments