TroglodyteDerivations
commited on
Commit
•
fdecb76
1
Parent(s):
863b380
Modified plot_vector_add
Browse files
app.py
CHANGED
@@ -36,12 +36,7 @@ class Vector_Addition:
|
|
36 |
plt.close()
|
37 |
return image
|
38 |
|
39 |
-
|
40 |
-
plt.savefig(buf, format='png')
|
41 |
-
buf.seek(0)
|
42 |
-
image = Image.open(buf)
|
43 |
-
plt.close()
|
44 |
-
return image
|
45 |
|
46 |
def vector_addition(v1, v2):
|
47 |
vector_addition = Vector_Addition(v1, v2)
|
|
|
36 |
plt.close()
|
37 |
return image
|
38 |
|
39 |
+
|
|
|
|
|
|
|
|
|
|
|
40 |
|
41 |
def vector_addition(v1, v2):
|
42 |
vector_addition = Vector_Addition(v1, v2)
|