mirror of
https://github.com/Laurent2916/REVA-QCAV.git
synced 2024-11-09 23:12:05 +00:00
02e2314149
Former-commit-id: c981801ccc3b74047e94c76e67c4ff1f3097226c
12 lines
274 B
Python
12 lines
274 B
Python
import matplotlib.pyplot as plt
|
|
|
|
def plot_img_and_mask(img, mask):
|
|
fig = plt.figure()
|
|
a = fig.add_subplot(1, 2, 1)
|
|
a.set_title('Input image')
|
|
plt.imshow(img)
|
|
|
|
b = fig.add_subplot(1, 2, 2)
|
|
b.set_title('Output mask')
|
|
plt.imshow(mask)
|
|
plt.show() |