Try swapping pillow for matplotlib