graphinglib.FitFromLog.add_errorbars#

FitFromLog.add_errorbars(x_error: TypeAliasForwardRef('ArrayLike') | None = None, y_error: TypeAliasForwardRef('ArrayLike') | None = None, cap_width: float | Inherit = Inherit, errorbars_color: str | Inherit = Inherit, errorbars_line_width: float | Inherit = Inherit, cap_thickness: float | Inherit = Inherit) None#

Adds errorbars to the Curve.

Parameters:
x_error, y_errorArrayLike, optional

Arrays of x and y errors. Use one or both. Values must be non-negative.

cap_widthfloat

Width of the errorbar caps. Typical range is 0 to 10 points. Default depends on the figure_style configuration.

errorbars_colorstr

Color of the errorbars. "same as curve" uses the curve color. Default depends on the figure_style configuration.

errorbars_line_widthfloat

Width of the errorbars. Typical range is 0.5 to 3 points. Default depends on the figure_style configuration.

cap_thicknessfloat

Thickness of the errorbar caps. Typical range is 0.5 to 3 points. Default depends on the figure_style configuration.

Notes

Color parameters accept Matplotlib color formats: named colors ("blue"), short color strings ("b"), hex strings ("#0000ff"), grayscale strings ("0.5"), and RGB/RGBA tuples with values between 0 and 1 ((0, 0, 1) or (0, 0, 1, 0.5)).