The default behavior for adding and solving with noisemodels has changed from Pastas 1.5. Find more information here

pastas.plotting.modelplots.Plotting.contributions_pie#

Plotting.contributions_pie(tmin=None, tmax=None, ax=None, figsize=None, split=True, partition='std', wedgeprops=None, startangle=90.0, autopct='%1.1f%%', **kwargs)[source]#

Make a pie chart of the contributions. This plot is based on the TNO Groundwatertoolbox.

Parameters
  • tmin (str or pandas.Timestamp, optional.) –

  • tmax (str or pandas.Timestamp, optional.) –

  • ax (matplotlib.axes.Axes, optional) – The Axes to plot the pie chart on. A new figure and axes will be created of not provided.

  • figsize (tuple, optional) – tuple of size 2 to determine the figure size in inches.

  • split (bool, optional) – Split the stresses in multiple stresses when possible.

  • partition (str) – statistic to use to determine contribution of stress, either ‘sum’ or ‘std’ (default).

  • wedgeprops (dict, optional, default None) – dict containing pie chart wedge properties, default is None, which sets edgecolor to white.

  • startangle (float) – at which angle to start drawing wedges.

  • autopct (str) – format string to add percentages to pie chart.

  • kwargs (dict, optional) – The keyword arguments are passed on to plt.pie.

Returns

ax

Return type

matplotlib.axes.Axes