plot_functions module

plot_functions.bezier_curve(start_pt, end_pt, mid_pt, resolution=1000)
plot_functions.curved_line(point1, point2, resolution=100)
plot_functions.degree_slope(xy1, xy2)
plot_functions.distance_pt_to_pt(pt1, pt2)

Returns Euclidean distance between pt1(x,y) and pt2(x,y)

Parameters
  • pt1 (tuple (x,y) of float or ints) – The (x,y) coordinates of point 1

  • pt2 (tuple (x,y) of float or ints) – The (x,y) coordinates of point 2

plot_functions.draw_line(xy1, xy2, ax, **kwargs)

Connect pt1 (x1,y1) to pt2 (x2, y2)

plot_functions.grid_10(bg_color=None)
plot_functions.grid_3(bg_color=None)
plot_functions.grid_5(bg_color=None)
plot_functions.grid_8(bg_color=None)
plot_functions.plot_label(xy, text)
plot_functions.recta(x1, y1, x2, y2)
plot_functions.save_file(fig, title=None, nbk=None, num_rows=None, num_cols=None, details=None, SAVE_FILE=True)
plot_functions.slope(xy1, xy2)