plot has changed for scipy visualization but this has the bulk of it