Functions removed from the lines module The matplotlib.lines module no longer imports the pts_to_prestep, pts_to_midstep and pts_to_poststep functions from the matplotlib.cbook module.