Skip to content

Commit d428e82

Browse files
committed
Use plot rather than plot_date
1 parent 07804d7 commit d428e82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

labellines/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ def test_label_datetime_plot(setup_mpl):
291291
)
292292
y = np.array([13.86, 14.85, 28.71, 42.57, 61.38, 76.23, 77.22, 81.18])
293293

294-
line = plt.plot_date(x, y, "-")[0]
294+
line = plt.plot(x, y, "-")[0]
295295
plt.xticks(rotation=45)
296296

297297
# should not throw an error

0 commit comments

Comments
 (0)