Spaces:
Running
Running
christopher
commited on
Commit
•
3113bb9
1
Parent(s):
8936d70
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ st.set_page_config(page_title="BLOOM Corpus Treemap",layout='wide')
|
|
7 |
|
8 |
df = pd.read_pickle('bloom_dataset.pkl')
|
9 |
fig = px.treemap(df, path=[px.Constant("Bloom Corpus"), 'Macroarea', 'Family', 'Genus', 'Language', 'dataset_name'],
|
10 |
-
values='num_bytes', maxdepth=
|
11 |
fig.update_traces(root_color="pink")
|
12 |
fig.update_layout(margin = dict(t=50, l=25, r=25, b=25))
|
13 |
|
|
|
7 |
|
8 |
df = pd.read_pickle('bloom_dataset.pkl')
|
9 |
fig = px.treemap(df, path=[px.Constant("Bloom Corpus"), 'Macroarea', 'Family', 'Genus', 'Language', 'dataset_name'],
|
10 |
+
values='num_bytes', maxdepth=4)
|
11 |
fig.update_traces(root_color="pink")
|
12 |
fig.update_layout(margin = dict(t=50, l=25, r=25, b=25))
|
13 |
|