jfataphd commited on
Commit
fdaf66f
·
1 Parent(s): 73ee771

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", alpha=.01, text_kwargs={'fontsize': 6})
67
  # # plot the treemap using matplotlib
68
  plt.axis('off')
69
  fig = plt.gcf()
@@ -96,7 +96,7 @@ if query:
96
  color2 = [cmap2[i] for i in range(len(sizes))]
97
 
98
  df1.set_index('Human Gene', inplace=True)
99
- squarify.plot(sizes=sizes, label=df1.index.tolist(), color=color2, edgecolor="#EBF5FB", alpha=.01, text_kwargs={'fontsize': 8})
100
  #
101
  # # plot the treemap using matplotlib
102
 
 
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': 6})
67
  # # plot the treemap using matplotlib
68
  plt.axis('off')
69
  fig = plt.gcf()
 
96
  color2 = [cmap2[i] for i in range(len(sizes))]
97
 
98
  df1.set_index('Human Gene', inplace=True)
99
+ squarify.plot(sizes=sizes, label=df1.index.tolist(), color=color2, edgecolor="#EBF5FB", text_kwargs={'fontsize': 8})
100
  #
101
  # # plot the treemap using matplotlib
102