graphinglib.FitFromSine.create_points_at_y#
- FitFromSine.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_styleconfiguration.- edge_colorstr
Edge color of the point. Default depends on the
figure_styleconfiguration.- marker_sizefloat
Size of the point. Typical range is
10to100. Default depends on thefigure_styleconfiguration.- 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 thefigure_styleconfiguration.- line_widthfloat
Width of the edge of the point. Typical range is
0to3points. Default depends on thefigure_styleconfiguration.- alphafloat
Opacity of the point. Range is
0(transparent) to1(opaque). Default depends on thefigure_styleconfiguration.
- Returns:
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)).