Predicates

random() x in the interval [0, 1).
draw_predicate(ax, predicate, symbols, theme)
Return type:

set[Artist]

draw_perp_rectangle(ax, line0, line1, color, **kwargs)
Return type:

Rectangle

draw_line_symbol(ax, line, line_color, line_width, **kwargs)

Draw a line. Return the two extremities

Return type:

AxLine

draw_line(ax, p0, p1, line_color, line_width, **kwargs)
Return type:

AxLine

draw_free_perpendicular_symbol(ax, foot, other_point, theme)
Return type:

Artist