Clipping images with patches Demo of image that's been clipped by a circular patch. from PIL import Image import matplotlib.pyplot as plt import matplotlib.cbook as cbook import matplotlib.patches as patches