Update app.py
Browse files
app.py
CHANGED
@@ -149,7 +149,7 @@ def heatmap(top_n):
|
|
149 |
def decode_plot(plot_base64, top_n):
|
150 |
plot_bytes = base64.b64decode(plot_base64['plot'].split(',')[1])
|
151 |
img = plt.imread(BytesIO(plot_bytes), format='PNG')
|
152 |
-
plt.figure(figsize = (12, 2*top_n, dpi = 150)
|
153 |
plt.imshow(img)
|
154 |
plt.axis('off')
|
155 |
plt.show()
|
|
|
149 |
def decode_plot(plot_base64, top_n):
|
150 |
plot_bytes = base64.b64decode(plot_base64['plot'].split(',')[1])
|
151 |
img = plt.imread(BytesIO(plot_bytes), format='PNG')
|
152 |
+
plt.figure(figsize = (12, 2*top_n), dpi = 150)
|
153 |
plt.imshow(img)
|
154 |
plt.axis('off')
|
155 |
plt.show()
|