panda47 commited on
Commit
12f5e83
·
1 Parent(s): dd19ef0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -186,9 +186,9 @@ def label_to_color_image(label):
186
  return colormap[label]
187
 
188
  def draw_plot(pred_img, seg):
189
- fig = plt.figure(figsize=(20, 15))
190
 
191
- grid_spec = gridspec.GridSpec(1, 2, width_ratios=[6, 1])
192
 
193
  plt.subplot(grid_spec[0])
194
  plt.imshow(pred_img)
 
186
  return colormap[label]
187
 
188
  def draw_plot(pred_img, seg):
189
+ fig = plt.figure(figsize=(15, 10))
190
 
191
+ grid_spec = gridspec.GridSpec(2, 1, width_ratios=[6, 1])
192
 
193
  plt.subplot(grid_spec[0])
194
  plt.imshow(pred_img)