confused use matplotlib or show the image in browser with datav.js