graphinglib.FitFromSquareRoot.show_residual_curves#

FitFromSquareRoot.show_residual_curves(sigma_multiplier: float = 1, color: str | Inherit = Inherit, line_width: float | Inherit = Inherit, line_style: str | Inherit = Inherit) None#

Displays two curves "sigma_multiplier" standard deviations above and below the fit curve.

Parameters:
sigma_multiplierfloat

Distance in standard deviations from the fit curve. Default is 1.

colorstr

Color of the residual curves. Default depends on the figure_style configuration.

line_widthfloat

Line width of the residual curves. Typical range is 0.5 to 4. Default depends on the figure_style configuration.

line_stylestr

Line style of the residual curves. Values include "-", "--", "-.", ":", "solid", "dashed", "dashdot", and "dotted". 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)).