graphinglib.FitFromFunction.create_points_at_y#

FitFromFunction.create_points_at_y(y: float, interpolation_kind: str = 'linear', label: str | None = None, face_color: str | Inherit = Inherit, edge_color: str | Inherit = Inherit, marker_size: float | Inherit = Inherit, marker_style: str | Inherit = Inherit, line_width: float | Inherit = Inherit, alpha: float | Inherit = Inherit) list[Point]#

Creates the Points on the curve at a given y value.

Parameters:
yfloat

y value of the point.

interpolation_kindstr

Kind of interpolation to be used. Default is “linear”.

labelstr, optional

Label to be displayed in the legend.

face_colorstr

Face color of the point. Default depends on the figure_style configuration.

edge_colorstr

Edge color of the point. Default depends on the figure_style configuration.

marker_sizefloat

Size of the point. Typical range is 10 to 100. Default depends on the figure_style configuration.

marker_stylestr

Style of the point. Common values include ".", ",", "o", "v", "^", "<", ">", "s", "p", "*", "h", "H", "+", "x", "D", "d", "|", "_", "P", "X", "None", " ", and "". Default depends on the figure_style configuration.

line_widthfloat

Width of the edge of the point. Typical range is 0 to 3 points. Default depends on the figure_style configuration.

alphafloat

Opacity of the point. Range is 0 (transparent) to 1 (opaque). Default depends on the figure_style configuration.

Returns:
list[Point]

List of Point objects on the curve at the given y value.

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)).