Replace document.createWindow with document.defaultView
Replace document.createWindow with document.defaultView

document.createWindow has been removed from jsdom.

mpld3/mpld3,kdheepak89/mpld3,etgalloway/mpld3,mpld3/mpld3,etgalloway/mpld3,kdheepak89/mpld3,e-koch/mpld3,jakevdp/mpld3,e-koch/mpld3,jakevdp/mpld3