Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -471,14 +471,14 @@ class SADCP_Viewer(param.Parameterized):
|
|
| 471 |
|
| 472 |
# Instantiate the SADCP_Viewer class and create a template
|
| 473 |
explorer = SADCP_Viewer()
|
| 474 |
-
|
| 475 |
-
|
| 476 |
-
|
| 477 |
-
|
| 478 |
-
|
| 479 |
-
|
| 480 |
-
|
| 481 |
-
|
| 482 |
|
| 483 |
sidebar = [
|
| 484 |
"""This application, developed in the frame of Euro Go Shop, helps to interactively visualise and download ship ADCP data.""",
|
|
@@ -496,6 +496,6 @@ sidebar = [
|
|
| 496 |
explorer.scale_factor_slider,
|
| 497 |
explorer.data_table,
|
| 498 |
]
|
| 499 |
-
template = pn.template.FastListTemplate(title="SADCP data Viewer", sidebar=sidebar
|
| 500 |
template.servable()
|
| 501 |
|
|
|
|
| 471 |
|
| 472 |
# Instantiate the SADCP_Viewer class and create a template
|
| 473 |
explorer = SADCP_Viewer()
|
| 474 |
+
tabs = pn.Tabs(
|
| 475 |
+
("Plots", pn.Column(explorer.update_plots)),
|
| 476 |
+
(
|
| 477 |
+
"Metadata",
|
| 478 |
+
explorer.metadata_table, height=500, margin=10
|
| 479 |
+
),
|
| 480 |
+
),
|
| 481 |
+
)
|
| 482 |
|
| 483 |
sidebar = [
|
| 484 |
"""This application, developed in the frame of Euro Go Shop, helps to interactively visualise and download ship ADCP data.""",
|
|
|
|
| 496 |
explorer.scale_factor_slider,
|
| 497 |
explorer.data_table,
|
| 498 |
]
|
| 499 |
+
template = pn.template.FastListTemplate(title="SADCP data Viewer", sidebar=sidebar, main=[tabs])
|
| 500 |
template.servable()
|
| 501 |
|