REVA-QCAV/utils/data_vis.py
milesial 2d427db832 Cleaned code, added image to README.md
Former-commit-id: 3acf1ff8dadb74e95786fb6ddcf1a90de63f5079
2017-11-30 07:47:43 +01:00

14 lines
216 B
Python

import matplotlib.pyplot as plt
def plot_img_mask(img, mask):
fig = plt.figure()
ax1 = fig.add_subplot(1, 3, 1)
ax1.imshow(img)
ax2 = fig.add_subplot(1, 3, 2)
ax2.imshow(mask)
plt.show()