Matplotlib Could Not Convert String To Integer Javascript Map