graphorge.ioput.plots.plot_boxplots¶
- plot_boxplots(data_boxplots, data_labels=None, is_mean_line=False, y_lims=(None, None), title=None, x_label=None, y_label=None, y_scale='linear', y_tick_format=None, is_multiple_subplots=False, is_latex=False)[source]¶
Plot set of box plots.
- Parameters:
data_boxplots (numpy.ndarray(2d)) – Data array where each box plot data is stored columnwise such that the i-th boxplot is stored in the i-th column.
data_labels (list, default=None) – Labels of each box plot provided in data_boxplots and sorted accordingly. If None, then no labels are displayed.
is_mean_line (bool, default=False) – If True, then plot mean line for each boxplot.
y_lims (tuple, default=(None, None)) – y-axis limits in data coordinates.
title (str, default=None) – Plot title.
x_label (str, default=None) – x-axis label.
y_label (str, default=None) – y-axis label.
y_scale (str {'linear', 'log'}, default='linear') – y-axis scale. If None or invalid format, then default scale is set. Scale ‘log’ overrides any y-axis ticks formatting.
y_tick_format ({'int', 'float', 'exp'}, default=None) – y-axis ticks formatting. If None or invalid format, then default formatting is set.
is_latex (bool, default=False) – If True, then render all strings in LaTeX. If LaTex is not available, then this option is silently set to False and all input strings are processed to remove $(…)$ enclosure.
- Returns:
figure (Matplotlib Figure) – Figure.
axes (Matplotlib Axes) – Axes.