Skip to content

Commit 3e234b0

Browse files
committed
Remove deprecated plot_date calls
These were deprecated in Matplotlib 3.9.
1 parent 78a2ef2 commit 3e234b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/plotting/test_datetimelike.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1435,8 +1435,8 @@ def test_mpl_nopandas(self):
14351435
kw = {"fmt": "-", "lw": 4}
14361436

14371437
_, ax = mpl.pyplot.subplots()
1438-
ax.plot_date([x.toordinal() for x in dates], values1, **kw)
1439-
ax.plot_date([x.toordinal() for x in dates], values2, **kw)
1438+
ax.plot([x.toordinal() for x in dates], values1, **kw)
1439+
ax.plot([x.toordinal() for x in dates], values2, **kw)
14401440

14411441
line1, line2 = ax.get_lines()
14421442

0 commit comments

Comments
 (0)