pastas.plots.series#

series(head=None, stresses=None, hist=True, kde=False, titles=True, tmin=None, tmax=None, labels=None, figsize=(10, 5))[source]#

Plot all the input time series in a single plot.

Parameters
  • head (pd.Series) – Pandas time series with DatetimeIndex.

  • stresses (List of pd.Series) – List with Pandas time series with DatetimeIndex.

  • hist (bool) – Histogram for the series. The number of bins is determined with Sturges rule. Returns the number of observations, mean, skew and kurtosis.

  • kde (bool) – Kernel density estimate for the series. The kde is obtained from scipy.gaussian_kde using scott to calculate the estimator bandwidth. Returns the number of observations, mean, skew and kurtosis.

  • titles (bool) – Set the titles or not. Taken from the name attribute of the Series.

  • tmin (str or pd.Timestamp) –

  • tmax (str or pd.Timestamp) –

  • labels (List of str) – List with the labels for each subplot.

  • figsize (tuple) – Set the size of the figure.

Return type

matplotlib.Axes