graphinglib.Curve.add_errorbars#
- Curve.add_errorbars(x_error: ArrayLike | None = None, y_error: ArrayLike | None = None, cap_width: float | Literal['default'] = 'default', errorbars_color: str = 'default', errorbars_line_width: float | Literal['default'] = 'default', cap_thickness: float | Literal['default'] = 'default') None [source]#
Adds errorbars to the
Curve
.- Parameters:
- x_error, y_errorArrayLike, optional
Arrays of x and y errors. Use one or both.
- cap_widthfloat
Width of the errorbar caps. Default depends on the
figure_style
configuration.- errorbars_colorstr
Color of the errorbars. Default depends on the
figure_style
configuration.- errorbars_line_widthfloat
Width of the errorbars. Default depends on the
figure_style
configuration.- cap_thicknessfloat
Thickness of the errorbar caps. Default depends on the
figure_style
configuration.