`mahotas.polygon.fill_polygon` seems like it could be replaced with https://scikit-image.org/docs/0.7.0/auto_examples/plot_shapes.html `cv2.findContours` seems like could be replaced with https://scikit-image.org/docs/stable/api/skimage.measure.html#skimage.measure.find_contours or even this is the data is `Map` https://docs.sunpy.org/en/stable/generated/api/sunpy.map.GenericMap.html#sunpy.map.GenericMap.contour The `mahotas` library doesn't seem to install for python 3.11 or 3.12 on macOS