Karin0616
commited on
Commit
•
a59bb66
1
Parent(s):
59255df
change axis
Browse files
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.
|
77 |
-
plt.
|
78 |
-
plt.
|
79 |
-
ax.tick_params(width=0.0, labelsize=
|
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):
|