moved eda plotting functions