neuro_morpho.reports.plots ========================== .. py:module:: neuro_morpho.reports.plots Functions --------- .. autoapisummary:: neuro_morpho.reports.plots.plot_sabya Module Contents --------------- .. py:function:: plot_sabya(data: pandas.DataFrame, ax: matplotlib.pyplot.Axes | None = None, fig_kw: dict = {}, bar_width: float = 0.5, ax_ylabel: str = '') -> matplotlib.pyplot.Figure Make the pseudo box plot that sabya uses. Trying to emulate the plots generated using: https://github.com/raacampbell/notBoxPlot From the README: his function (with a tongue in cheek name) addresses this problem. The use of the mean instead of the median and the SEM and SD instead of quartiles and whiskers are deliberate. Jittered raw data are plotted for each group. Also shown are the mean, and 95% confidence intervals for the mean. :param data: The data to plot :type data: pd.DataFrame :param ax: The axes to plot on. Defaults to None. :type ax: plt.Axes, optional :param fig_kw: The figure keyword arguments. Defaults to {}. :type fig_kw: dict, optional :param bar_width: The width of the bars. Defaults to 0.5. :type bar_width: float, optional :param ax_ylabel: The y-axis label. Defaults to "". :type ax_ylabel: str, optional :returns: The figure object :rtype: plt.Figure