Added use_end to ScatterPlot