import matplotlib.pyplot as plt
import matplotlib.image as mpimg
import numpy as np
def shade(imag, percent):
"""
imag: the image which will be shaded
percent: a value between 0 (image will remain unchanged
and 1 (image will be blackened)
"""
tinted_imag = imag * (1 - percent)
return tinted_imag
images_path = "../../images"
at_img=mpimg.imread(images_path + '/at_sign.png')
decorators_img=mpimg.imread(images_path + '/decorators.png')