Eric,
You'll be producing the KML from pythonor some other python package. GIS
I/O is well beyond matplotlib's scope.
This gis,stackexchange thread seems promising:
http://gis.stackexchange.com/questions/22519/create-a-ground-overlay-kml-from-georeferenced-raster
On Wed, Jun 10, 2015 at 1:07
I'm attempting to run a Matplotlib example that requires the use of
mpl_toolkit mplot3d. I'm running Anaconda on a MackBook Pro running Mac
OS X 10.10.3. I have the latest version of Anaconda and Matplotlib
installed. I also installed Basemap which as I understand it also
installs mpl_toolkits