Skip to content

CLN: replace deprecated freqs H/M with h/ME in tests for plotting #57877

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pandas/tests/plotting/frame/test_frame_subplots.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,9 @@ def test_subplots_timeseries_y_axis_not_supported(self):
data = {
"numeric": np.array([1, 2, 5]),
"period": [
pd.Period("2017-08-01 00:00:00", freq="H"),
pd.Period("2017-08-01 02:00", freq="H"),
pd.Period("2017-08-02 00:00:00", freq="H"),
pd.Period("2017-08-01 00:00:00", freq="h"),
pd.Period("2017-08-01 02:00", freq="h"),
pd.Period("2017-08-02 00:00:00", freq="h"),
],
"categorical": pd.Categorical(
["c", "b", "a"], categories=["a", "b", "c"], ordered=False
Expand Down
2 changes: 1 addition & 1 deletion pandas/tests/plotting/test_datetimelike.py
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,7 @@ def test_mixed_freq_shared_ax_twin_x(self):
@pytest.mark.xfail(reason="TODO (GH14330, GH14322)")
def test_mixed_freq_shared_ax_twin_x_irregular_first(self):
# GH13341, using sharex=True
idx1 = date_range("2015-01-01", periods=3, freq="M")
idx1 = date_range("2015-01-01", periods=3, freq="ME")
idx2 = idx1[:1].union(idx1[2:])
s1 = Series(range(len(idx1)), idx1)
s2 = Series(range(len(idx2)), idx2)
Expand Down
Loading