graphinglib.Scatter.create_point_at_x#

Scatter.create_point_at_x(x: float, interpolation_method: str = 'linear', label: str | None = None, color: str = 'default', edge_color: str = 'default', marker_size: float | Literal['default'] = 'default', marker_style: str = 'default', line_width: float | Literal['default'] = 'default') Point[source]#

Creates a Point on the curve at a given x value.

Parameters:
xfloat

The x value of the point.

interpolation_methodstr,

The type of interpolation to be used, as defined in scipy.interpolate.interp1d.

Defaults to “linear”.

labelstr, optional

Label to be displayed in the legend.

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. Default depends on the figure_style configuration.

marker_stylestr

Style of the point. Default depends on the figure_style configuration.

line_widthfloat

Width of the point edge. Default depends on the figure_style configuration.

Returns:
Point

The Point on the curve at the given x value.