Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -111,7 +111,7 @@ if query:
|
|
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=
|
115 |
#
|
116 |
# # plot the treemap using matplotlib
|
117 |
|
|
|
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=df10.index.tolist(), color=color2, edgecolor="#EBF5FB", text_kwargs={'fontsize': 12})
|
115 |
#
|
116 |
# # plot the treemap using matplotlib
|
117 |
|