Someone on reddit foudn this workign solution, it is a backend problem on some macs:
"""import matplotlib
matplotlib.use('TkAgg')
import matplotlib.pyplot as plt
from
skimage.io import imread
f = imread('house.png', as_gray=True)
plt.imshow(f)"""