plot#

ClosedCurve.plot(params: ndarray | None = None, ax=None, show_control_points: bool = True)#

Plot the parametrization.

Parameters:
paramsOptional[np.ndarray], optional

Optimization parameters (if None, use initial, default: None).

axoptional

Matplotlib axis (if None, create new figure, default: None).

show_control_pointsbool, optional

If True, show parametric control points in magenta (default: True).

Returns:
matplotlib.axes.Axes

The matplotlib axes object with the plot.

Warns:
UserWarning

If any parameters violate the specified bounds.