knots.display.make_guide#

knots.display.make_guide(knot: Knot, lw: float = 7) GuideArtists[source]#

Make artists to show the knot with Bezier control points.

Three things are shown:

  • the complete curve in solid blue

  • the unit cell in dashed red

  • the bezier control points in dashed pink with markers

Parameters:
knotKnot

The knot to display

lwfloat, default: 7

The width of the line used to draw the knot in points

Returns:
knot_artPathPatch

The completed knot

knot_base_artPathPatch

The base or unit-cell path

control_lineLine2D

The Bezier control points