Skip to content

Commit fadb71c

Browse files
committed
Revert autouse
1 parent ccf1c1c commit fadb71c

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

pandas/conftest.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1951,8 +1951,7 @@ def ip():
19511951
return InteractiveShell(config=c)
19521952

19531953

1954-
@pytest.fixture(autouse=True)
1955-
def mpl_cleanup(doctest_namespace):
1954+
def mpl_cleanup():
19561955
"""
19571956
Ensure Matplotlib is cleaned up around a test.
19581957

pandas/plotting/_misc.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,6 @@ def lag_plot(series: Series, lag: int = 1, ax: Axes | None = None, **kwds) -> Ax
634634
:context: close-figs
635635
636636
>>> pd.plotting.lag_plot(s, lag=1)
637-
<Axes: xlabel='y(t)', ylabel='y(t + 1)'>
638637
"""
639638
plot_backend = _get_plot_backend("matplotlib")
640639
return plot_backend.lag_plot(series=series, lag=lag, ax=ax, **kwds)

0 commit comments

Comments
 (0)