Vera-ZWY commited on
Commit
baddb8d
·
verified ·
1 Parent(s): 49707d6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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()