update init method of Scatterplot