replace matplot image with highchart image