Modified devectorize_axes in plotting/tools.py
Modified devectorize_axes in plotting/tools.py

Default ax is gca()
Temporary image name can be changed (using python tempfile would be better)
Axes, Axes' Patch, BBox are hidden for the image.
transparent background is used during the png export (keyword added to the call)

bsipocz/astroML,astroML/astroML,eramirem/astroML,kcavagnolo/astroML,nhuntwalker/astroML