'Insert image to Matplotlib 3d surface plotted with plot_trisurf

How do I add an image to a 3D surface plot which I created using the function plot_trisurf? I have arrays of x and y coordinates of the centroid of each cells and another array containing the average pixel intensities in these cells, so I can't use face_colors from plot_surface



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source