neuralib.plot.plot.violin_boxplot
- neuralib.plot.plot.violin_boxplot(ax, data, x=None, y=None, hue=None, scatter_alpha=0.7, scatter_size=3, output=None, **kwargs)[source]
Plot the data with half violin together with boxes and scatters
- Parameters:
ax (Axes) –
Axesdata (pd.DataFrame | pl.DataFrame | dict | list[ndarray]) – Dataset for plotting
x (str | None) – Names of variables in data or vector data:
xy (str | None) – Names of variables in data or vector data:
yhue (str | None) – Names of variables in data or vector data:
huescatter_alpha (float) – Scatter alpha for the
sns.stripplot()scatter_size (float) – Scatter size for the
sns.stripplot()output (str | Path | PathLike[str] | None) – Fig save output path
kwargs – Common args pass through
sns.violinplot(),sns.boxplot()andsns.stripplot()
- Returns:
- Return type:
None