victormiller
commited on
Commit
•
bb8c2a5
1
Parent(s):
4028499
Update curated.py
Browse files- curated.py +3 -3
curated.py
CHANGED
@@ -47,8 +47,8 @@ fig = px.treemap(treemap_data, path=['Category', 'Source'], values='Count', hove
|
|
47 |
# Set the size of the chart
|
48 |
|
49 |
|
50 |
-
# Display treemap
|
51 |
-
treemap_chart = fig
|
52 |
|
53 |
|
54 |
|
@@ -473,7 +473,7 @@ def curated(request):
|
|
473 |
H2("Curated Sources: Overview"),
|
474 |
overview_text,
|
475 |
copyright_disclaimer,
|
476 |
-
treemap_chart,
|
477 |
table_desc,
|
478 |
H2("Curated Sources: Data Gathering and Filtering"),
|
479 |
H3("Data Acquisition"),
|
|
|
47 |
# Set the size of the chart
|
48 |
|
49 |
|
50 |
+
# Display treemap if you want to update the size.update_layout(width=800, height=600)
|
51 |
+
treemap_chart = fig
|
52 |
|
53 |
|
54 |
|
|
|
473 |
H2("Curated Sources: Overview"),
|
474 |
overview_text,
|
475 |
copyright_disclaimer,
|
476 |
+
plotly2fasthtml(treemap_chart),
|
477 |
table_desc,
|
478 |
H2("Curated Sources: Data Gathering and Filtering"),
|
479 |
H3("Data Acquisition"),
|