Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -24,14 +24,13 @@ fig2=plt.figure(figsize=(16,9),dpi=120,facecolor=(0.8,0.8,0.8))
|
|
24 |
gs=gridspec.GridSpec(2,2)
|
25 |
|
26 |
# Subplot 1
|
27 |
-
ax0=
|
28 |
|
29 |
|
30 |
def update_plot(num):
|
31 |
|
32 |
# 1st subplot
|
33 |
|
34 |
-
ax0_vertical.set_data([x[num],x[num]],[0,y[num]])
|
35 |
stopwatch0.set_text(str(round(t[num],1))+' hrs')
|
36 |
|
37 |
return stopwatch0,
|
|
|
24 |
gs=gridspec.GridSpec(2,2)
|
25 |
|
26 |
# Subplot 1
|
27 |
+
ax0=fig2.add_subplot(gs[0,:],facecolor=(0.9,0.9,0.9))
|
28 |
|
29 |
|
30 |
def update_plot(num):
|
31 |
|
32 |
# 1st subplot
|
33 |
|
|
|
34 |
stopwatch0.set_text(str(round(t[num],1))+' hrs')
|
35 |
|
36 |
return stopwatch0,
|