from PIL import Image, ImageDraw
from enviroplus.noise import Noise
from PIL import Image, ImageDraw
from enviroplus.noise import Noise
- low, mid, high, amp = noise.measure()
+ low, mid, high, amp = noise.get_noise_profile()
draw.line((0, 0, 0, amp), fill=(int(low), int(mid), int(high)))
disp.display(img)
draw.line((0, 0, 0, amp), fill=(int(low), int(mid), int(high)))
disp.display(img)