bugfix scatter plot with 1d support