@@ -314,8 +314,7 @@ def andrews_curves(
314
314
... 'https://raw.githubusercontent.com/pandas-dev/'
315
315
... 'pandas/main/pandas/tests/io/data/csv/iris.csv'
316
316
... )
317
- >>> pd.plotting.andrews_curves(df, 'Name')
318
- <AxesSubplot: title={'center': 'width'}>
317
+ >>> pd.plotting.andrews_curves(df, 'Name') # doctest: +SKIP
319
318
"""
320
319
plot_backend = _get_plot_backend ("matplotlib" )
321
320
return plot_backend .andrews_curves (
@@ -499,8 +498,7 @@ def lag_plot(series: Series, lag: int = 1, ax: Axes | None = None, **kwds) -> Ax
499
498
>>> np.random.seed(5)
500
499
>>> x = np.cumsum(np.random.normal(loc=1, scale=5, size=50))
501
500
>>> s = pd.Series(x)
502
- >>> s.plot()
503
- <AxesSubplot: xlabel='Midrange'>
501
+ >>> s.plot() # doctest: +SKIP
504
502
505
503
A lag plot with ``lag=1`` returns
506
504
@@ -542,8 +540,7 @@ def autocorrelation_plot(series: Series, ax: Axes | None = None, **kwargs) -> Ax
542
540
543
541
>>> spacing = np.linspace(-9 * np.pi, 9 * np.pi, num=1000)
544
542
>>> s = pd.Series(0.7 * np.random.rand(1000) + 0.3 * np.sin(spacing))
545
- >>> pd.plotting.autocorrelation_plot(s)
546
- <AxesSubplot: title={'center': 'width'}, xlabel='Lag', ylabel='Autocorrelation'>
543
+ >>> pd.plotting.autocorrelation_plot(s) # doctest: +SKIP
547
544
"""
548
545
plot_backend = _get_plot_backend ("matplotlib" )
549
546
return plot_backend .autocorrelation_plot (series = series , ax = ax , ** kwargs )
0 commit comments