graphinglib.FitFromFunction.show_residual_curves#
- FitFromFunction.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_styleconfiguration.- line_widthfloat
Line width of the residual curves. Typical range is
0.5to4. Default depends on thefigure_styleconfiguration.- line_stylestr
Line style of the residual curves. Values include
"-","--","-.",":","solid","dashed","dashdot", and"dotted". Default depends on thefigure_styleconfiguration.
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 between0and1((0, 0, 1)or(0, 0, 1, 0.5)).