Karin0616 commited on
Commit
a59bb66
1 Parent(s): 59255df

change axis

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -73,10 +73,10 @@ def draw_plot(pred_img, seg):
73
  ax = plt.subplot(grid_spec[1])
74
  plt.imshow(FULL_COLOR_MAP[unique_labels].astype(np.uint8), interpolation="nearest")
75
 
76
- ax.xaxis.tick_bottom()
77
- plt.xticks(range(len(unique_labels)), LABEL_NAMES[unique_labels])
78
- plt.yticks([], [])
79
- ax.tick_params(width=0.0, labelsize=28)
80
  return fig
81
 
82
  def sepia(input_img):
 
73
  ax = plt.subplot(grid_spec[1])
74
  plt.imshow(FULL_COLOR_MAP[unique_labels].astype(np.uint8), interpolation="nearest")
75
 
76
+ ax.yaxis.tick_left()
77
+ plt.yticks(range(len(unique_labels)), LABEL_NAMES[unique_labels])
78
+ plt.xticks([], [])
79
+ ax.tick_params(width=0.0, labelsize=27)
80
  return fig
81
 
82
  def sepia(input_img):