pypam.plots.plot_aggregation_evolution¶
-
pypam.plots.
plot_aggregation_evolution
(ds, data_var, mode, save_path=None, ax=None, show=True)[source]¶ Plot the aggregation evolution with boxplot or violin, the limits of the box are Q1 and Q3
Parameters: - dsxarray DataSet
Dataset to process
- data_varstr
Name of the data variable to plot
- modestr
‘boxplot’ or ‘violin’
- save_pathstring or Path
Where to save the image
- axmatplotlib.axes class or None
ax to plot on
- showboolean
Set to True to show the plot
Returns: - axmatplotlib.axes class
The ax with the plot if something else has to be plotted on the same