Spaces:
Runtime error
Runtime error
kbberendsen
commited on
Commit
•
274f60c
1
Parent(s):
41aaaa6
clean up
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ app_ui = ui.page_fluid(
|
|
38 |
|
39 |
ui.panel_main(
|
40 |
ui.h3("Gear usage in fastest lap"),
|
41 |
-
|
42 |
ui.output_text("fastest_driver")
|
43 |
),
|
44 |
),
|
@@ -80,7 +80,7 @@ def server(input, output, session):
|
|
80 |
cbar = plt.colorbar(mappable=lc_comp, label="Gear", boundaries=np.arange(1, 10))
|
81 |
cbar.set_ticks(np.arange(1.5, 9.5))
|
82 |
cbar.set_ticklabels(np.arange(1, 9))
|
83 |
-
|
84 |
plt
|
85 |
|
86 |
@output
|
|
|
38 |
|
39 |
ui.panel_main(
|
40 |
ui.h3("Gear usage in fastest lap"),
|
41 |
+
ui.output_plot("gear"),
|
42 |
ui.output_text("fastest_driver")
|
43 |
),
|
44 |
),
|
|
|
80 |
cbar = plt.colorbar(mappable=lc_comp, label="Gear", boundaries=np.arange(1, 10))
|
81 |
cbar.set_ticks(np.arange(1.5, 9.5))
|
82 |
cbar.set_ticklabels(np.arange(1, 9))
|
83 |
+
|
84 |
plt
|
85 |
|
86 |
@output
|