pastas.plotting.modelplots.Plotting.stresses#

pastas.plotting.modelplots.Plotting.stresses(tmin: pandas.Timestamp | str | None = None, tmax: pandas.Timestamp | str | None = None, cols: int = 1, split: bool = True, sharex: bool = True, figsize: tuple = (10, 8), **kwargs) pastas.typing.Axes#

This method creates a graph with all the stresses used in the model.

Parameters:
  • tmin (pandas.Timestamp or str, optional) – A string or pandas.Timestamp with the start date for the period (E.g. ‘1980-01-01 00:00:00’). Strings are converted to pandas.Timestamp internally.

  • tmax (pandas.Timestamp or str, optional) – A string or pandas.Timestamp with the end date for the period (E.g. ‘2020-01-01 00:00:00’). Strings are converted to pandas.Timestamp internally.

  • cols (int) – number of columns used for plotting.

  • split (bool, optional) – Split the stress

  • sharex (bool, optional) – Sharex the x-axis.

  • figsize (tuple, optional) – Tuple with the height and width of the figure in inches.

Returns:

axes – matplotlib axes instance.

Return type:

matplotlib.axes.Axes