qis.plot_errorbar¶
- qis.plot_errorbar(df, y_std_errors=0.5, exact=None, legend_title=None, legend_loc='upper left', xlabel=None, ylabel=None, var_format='{:.0f}', title=None, fontsize=10, capsize=10, colors=None, exact_colors='green', marker='o', exact_marker='v', y_limits=None, add_zero_line=False, ax=None, **kwargs)[source]¶
Plot labelled point estimates with optional error and reference values.
- Parameters:
df (Series | DataFrame) – Point estimates, plotted as one series per column.
y_std_errors (float | Series | DataFrame) – Scalar error magnitude, a Series shared across columns, or a DataFrame with one error series per estimate column. Pandas errors must have unique labels that match the estimate rows exactly; DataFrame errors must also match the estimate columns.
exact (Series | DataFrame) – Optional exact values overlaid as scatter points.
legend_title (str)
xlabel (str)
ylabel (str)
var_format (str | None)
fontsize (int)
capsize (int)
marker (str | None)
exact_marker (str)
add_zero_line (bool)
ax (Axes)
- Returns:
A newly created figure, or
Nonewhen drawing on a supplied axis.- Raises:
ValueError – If labelled errors contain duplicate, missing, or extra row or column labels.
- Return type:
Figure | None