Skip to content

Commit be49874

Browse files
committed
test_tsplot updated
1 parent 21b5e1f commit be49874

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/plotting/test_datetimelike.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def f(*args, **kwds):
125125
return tsplot(s, self.plt.Axes.plot, *args, **kwds)
126126

127127
for s in self.period_ser:
128-
_check_plot_works(f, s.index.freq, ax=ax, series=s)
128+
_check_plot_works(f, s.index.freq.rule_code, ax=ax, series=s)
129129

130130
for s in self.datetime_ser:
131131
_check_plot_works(f, s.index.freq.rule_code, ax=ax, series=s)

0 commit comments

Comments
 (0)