distribution plot in python code example
Example 1: distribution seaborn
x = np.random.normal(size=100)
sns.distplot(x);
Example 2: scatter density plot seaborn
>>> iris = sns.load_dataset("iris")
>>> g = sns.jointplot("sepal_width", "petal_length", data=iris,
... kind="kde", space=0, color="g")