Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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':
|
67 |
# # plot the treemap using matplotlib
|
68 |
plt.axis('off')
|
69 |
fig = plt.gcf()
|
|
|
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': 10})
|
67 |
# # plot the treemap using matplotlib
|
68 |
plt.axis('off')
|
69 |
fig = plt.gcf()
|