installed mpld3 to change plots to html string