jfataphd commited on
Commit
b1a4aa9
·
1 Parent(s): 96f1aee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -110,7 +110,7 @@ if query:
110
  cmap2 = plt.cm.Blues(np.linspace(0.05, .5, len(sizes)))
111
  color2 = [cmap2[i] for i in range(len(sizes))]
112
 
113
- df1.set_index('Human Gene', inplace=True)
114
  squarify.plot(sizes=sizes, label=df1.index.tolist(), color=color2, edgecolor="#EBF5FB", text_kwargs={'fontsize': 12})
115
  #
116
  # # plot the treemap using matplotlib
 
110
  cmap2 = plt.cm.Blues(np.linspace(0.05, .5, len(sizes)))
111
  color2 = [cmap2[i] for i in range(len(sizes))]
112
 
113
+ df10.set_index('Human Gene', inplace=True)
114
  squarify.plot(sizes=sizes, label=df1.index.tolist(), color=color2, edgecolor="#EBF5FB", text_kwargs={'fontsize': 12})
115
  #
116
  # # plot the treemap using matplotlib