Updated ErpyFigure to use LineCollection instead of plot.