jfataphd commited on
Commit
e907190
·
1 Parent(s): 50cfb9e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -63,7 +63,7 @@ if query:
63
  color = [cmap[i] for i in range(len(sizes))]
64
 
65
  short_table.set_index('Word', inplace=True)
66
- squarify.plot(sizes=sizes, label=short_table.index.tolist(), color=color, edgecolor="#EBF5FB", text_kwargs={'fontsize': 12})
67
  # # plot the treemap using matplotlib
68
  plt.axis('off')
69
  fig = plt.gcf()
@@ -97,7 +97,7 @@ if query:
97
  color2 = [cmap2[i] for i in range(len(sizes))]
98
 
99
  df1.set_index('Human Gene', inplace=True)
100
- squarify.plot(sizes=sizes, label=df1.index.tolist(), color=color2, edgecolor="#EBF5FB", text_kwargs={'fontsize': 12})
101
  #
102
  # # plot the treemap using matplotlib
103
 
 
63
  color = [cmap[i] for i in range(len(sizes))]
64
 
65
  short_table.set_index('Word', inplace=True)
66
+ squarify.plot(sizes=sizes, label=short_table.index.tolist(), color=color, edgecolor="#EBF5FB", text_kwargs={'fontsize': 16})
67
  # # plot the treemap using matplotlib
68
  plt.axis('off')
69
  fig = plt.gcf()
 
97
  color2 = [cmap2[i] for i in range(len(sizes))]
98
 
99
  df1.set_index('Human Gene', inplace=True)
100
+ squarify.plot(sizes=sizes, label=df1.index.tolist(), color=color2, edgecolor="#EBF5FB", text_kwargs={'fontsize': 16})
101
  #
102
  # # plot the treemap using matplotlib
103