fix create_scatterplot