fix broken scale in chapter 7 line example