plot_weight_dist¶
- plot_weight_dist(data: ~numpy.ndarray, label: ~numpy.ndarray, mode: str = 'sem', mask: ~numpy.ndarray = None, times: tuple[float, float] | list[float, float] | ~numpy.ndarray[(2, ), float] = None, sig_titles: list[str] = None, colors: list[str | list[int]] = None, ax=None) -> (<class 'matplotlib.figure.Figure'>, <class 'matplotlib.axes._axes.Axes'>)[source][source]¶
Basic distribution plot for weighted signals
- Parameters:
data (
np.ndarray) – The data to plotlabel (
np.ndarray) – The labels for the datamode (
str, optional) – The mode to use for the distribution, by default ‘sem’mask (
np.ndarray, optional) – The mask to use for the distribution, by default Nonetimes (
Doubles, optional) – The times to use for the x-axissig_titles (
list[str], optional) – The titles for the signals, by default Nonecolors (
list[str | list[int]], optional) – The colors for the signals, by default Noneax (
plt.Axes, optional) – The axes to plot on, by default None
- Returns:
plt.Figure– The figure containing the plotplt.Axes– The axes containing the plot
- Return type:
(<class ‘matplotlib.figure.Figure’>, <class ‘matplotlib.axes._axes.Axes’>)