pastas.plotting.modelplots.Plotting.series#
- pastas.plotting.modelplots.Plotting.series(tmin: pandas.Timestamp | str | None = None, tmax: pandas.Timestamp | str | None = None, split: bool = True, **kwargs) pastas.typing.Axes#
Plot all the time series going into a Pastas Model.
- Parameters:
tmin (str or Timestamp)
tmax (str or Timestamp)
split (bool, optional) – Split the stresses in multiple stresses when possible.
oseries (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.
colors_stresses (list of str) – List with the matplotlib colorcodes to use for plotting each stress timeseries. If list is shorter than number of stresses, the remaining stresses are plotted in black. If None (default), default matplotlib colors will be used.
labels (list of str) – List with the labels for each subplot.
figsize (tuple[float, float]) – Size of the figure in inches.
- Return type: