Shakeel1979 commited on
Commit
a2d27ef
·
verified ·
1 Parent(s): f6669c3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -89,7 +89,7 @@ def format_zero(val):
89
  return val
90
 
91
  # Function to plot the triangle with all points in different colors and a legend
92
- def plot_triangle(x1, y1, x2, y2, x3, y3, I_x, I_y, Ux, Uy, G_x, G_y, midpoints):
93
  fig, ax = plt.subplots(figsize=(8, 6))
94
  triangle = Polygon([(x1, y1), (x2, y2), (x3, y3)], closed=True, edgecolor='b', facecolor='lightblue')
95
  ax.add_patch(triangle)
 
89
  return val
90
 
91
  # Function to plot the triangle with all points in different colors and a legend
92
+ def plot_triangle(x1, y1, x2, y2, x3, y3, I_x, I_y, U_x, U_y, G_x, G_y, midpoints):
93
  fig, ax = plt.subplots(figsize=(8, 6))
94
  triangle = Polygon([(x1, y1), (x2, y2), (x3, y3)], closed=True, edgecolor='b', facecolor='lightblue')
95
  ax.add_patch(triangle)