Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,7 +30,7 @@ def print_design(team: int, participant: int, design: int):
|
|
| 30 |
ax.set_xticklabels([])
|
| 31 |
matplotlib.pyplot.grid()
|
| 32 |
|
| 33 |
-
df = data[(data['Team'] == team) & (data['Participant'] == participant) & (data['Design'] == design)]
|
| 34 |
nodes = df[df['Component'] > 0]
|
| 35 |
edges = df[df['Component'] < 0]
|
| 36 |
e1 = [int(x) for x in edges['Var1'].values]
|
|
|
|
| 30 |
ax.set_xticklabels([])
|
| 31 |
matplotlib.pyplot.grid()
|
| 32 |
|
| 33 |
+
df = data[(data['Team'] == int(team)) & (data['Participant'] == int(participant)) & (data['Design'] == int(design))]
|
| 34 |
nodes = df[df['Component'] > 0]
|
| 35 |
edges = df[df['Component'] < 0]
|
| 36 |
e1 = [int(x) for x in edges['Var1'].values]
|