Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
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
|