magnet.mesh.create_grouped_boxplots#
- magnet.mesh.create_grouped_boxplots(arrays, colors=None, title=None, legend_labels=None, group_labels=None, label_fontsize=12, widths=0.6, boxplot_spacing=1, groups_spacing=1, ylim=1.141, figsize=(18, 8))#
Creates grouped boxplots from a list of 2D numpy arrays.
- Parameters:
arrays (list of np.ndarray) – List of 2D numpy arrays (all of the same shape).
legend_labels (list of str, optional) – List of labels for the legend corresponding to each array. If None, labels will be ‘Matrix 1’, ‘Matrix 2’, etc.
group_labels (list of str, optional) – List of labels for the x-axis groups (columns). If None, labels will be ‘Column 1’, ‘Column 2’, etc.
colors (list of str, optional) – List of colors corresponding to each array. If None, a default color palette is used.
- Return type:
None