Python Matplotlib Load Image From Js