christopher commited on
Commit
6387a15
1 Parent(s): 3113bb9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ st.set_page_config(page_title="BLOOM Corpus Treemap",layout='wide')
6
 
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))
 
6
 
7
 
8
  df = pd.read_pickle('bloom_dataset.pkl')
9
+ fig = px.treemap(df, path=[px.Constant("ROOTS"), '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))