Shakeel1979 commited on
Commit
0ed798a
·
verified ·
1 Parent(s): 71eb3db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -70,7 +70,7 @@ def plot_triangle(x1, y1, x2, y2, x3, y3, I_x, I_y, Ux, Uy, G_x, G_y):
70
  vertices = [(x1, y1), (x2, y2), (x3, y3)]
71
  for i, (vx, vy) in enumerate(vertices):
72
  ax.scatter(vx, vy, color="blue", zorder=5)
73
- ax.text(vx, vy, f"V{i+1} ({vx:.1f}, {vy:.1f})", fontsize=10, ha="left", va="bottom", color="blue")
74
 
75
  key_points = [
76
  (I_x, I_y, "Incenter"),
 
70
  vertices = [(x1, y1), (x2, y2), (x3, y3)]
71
  for i, (vx, vy) in enumerate(vertices):
72
  ax.scatter(vx, vy, color="blue", zorder=5)
73
+ ax.text(vx, vy, f"P{i+1} ({vx:.1f}, {vy:.1f})", fontsize=10, ha="left", va="bottom", color="blue")
74
 
75
  key_points = [
76
  (I_x, I_y, "Incenter"),