Skip to content

Automatic PR for de65dc64-cd3c-4cfb-a9bf-d382a54df11b #66

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

Open
wants to merge 1 commit into
base: de65dc64-cd3c-4cfb-a9bf-d382a54df11b-base
Choose a base branch
from
Open
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
12 changes: 1 addition & 11 deletions pandas/tests/plotting/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,6 @@
)


@pytest.fixture(autouse=True)
def non_interactive():
mpl = pytest.importorskip("matplotlib")
mpl.use("template")
yield


@pytest.fixture(autouse=True)
def reset_rcParams():
mpl = pytest.importorskip("matplotlib")
Expand All @@ -23,11 +16,8 @@ def reset_rcParams():

@pytest.fixture(autouse=True)
def close_all_figures():
# https://stackoverflow.com/q/31156578
yield
plt = pytest.importorskip("matplotlib.pyplot")
plt.cla()
plt.clf()
plt.close("all")


Expand Down Expand Up @@ -55,4 +45,4 @@ def hist_df():
),
}
)
return hist_df
return hist_df