Figure

init_figure(ax, points)
Return type:

None

draw_figure(fig, ax, proof, jgex_problem, theme, save_to=None, format='svg')

Draw everything on the same canvas.

Return type:

tuple[Figure, Axes]

draw_point(ax, p, point_color, fontsize=20, point_size=25.0, zorder=100.0)

draw a point.

Return type:

tuple[PathCollection, Annotation]