Skip to content

Commit 0e9e344

Browse files
Test xvals for datetime axis
1 parent 99dcf17 commit 0e9e344

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

labellines/test.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def test_dateaxis_advanced(setup_mpl):
164164
ax.xaxis.set_major_locator(DayLocator())
165165
ax.xaxis.set_major_formatter(DateFormatter("%Y-%m-%d"))
166166

167-
labelLines(ax.get_lines())
167+
labelLines(ax.get_lines(), xvals=(dates[0], dates[-1]))
168168
return plt.gcf()
169169

170170

0 commit comments

Comments
 (0)