pastas.plots.series#

series(head=None, stresses=None, hist=True, kde=False, table=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.

  • 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.

  • table (bool) – Show table with some basic statistics such as 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