Spaces:
Sleeping
Sleeping
Update dashboard.py
Browse files- dashboard.py +2 -2
dashboard.py
CHANGED
@@ -378,9 +378,9 @@ def CreatePage2():
|
|
378 |
#with open(AECO_topics_over_time_file_path, 'r', encoding='utf-8') as file:
|
379 |
# html_content = file.read()
|
380 |
# Use an iframe to load the local HTML file
|
381 |
-
iframe_html = f'<iframe src="{AECO_topics_over_time_file_path}"></iframe>'
|
382 |
# Create an HTML pane to render the content
|
383 |
-
html_pane = pn.pane.HTML(iframe_html , sizing_mode='
|
384 |
return pn.Column(pn.pane.Markdown(" ## AECO Macro Topics "), html_pane, align="center")
|
385 |
|
386 |
def CreatePage3():
|
|
|
378 |
#with open(AECO_topics_over_time_file_path, 'r', encoding='utf-8') as file:
|
379 |
# html_content = file.read()
|
380 |
# Use an iframe to load the local HTML file
|
381 |
+
iframe_html = f'<iframe src="{AECO_topics_over_time_file_path} width="1200px" height="1800px""></iframe>'
|
382 |
# Create an HTML pane to render the content
|
383 |
+
html_pane = pn.pane.HTML(iframe_html , sizing_mode='stretch_both')
|
384 |
return pn.Column(pn.pane.Markdown(" ## AECO Macro Topics "), html_pane, align="center")
|
385 |
|
386 |
def CreatePage3():
|