Bivariate distribution

what is the function of this statement?

plt.scatter(dist[:,0],dist[:,1])

It is the matplot function to plot scatter plots.

import matplotlib.pyplot as plt
plt.scatter(x,  y)

A scatter plot of y vs. x with varying marker size and/or color.

Checkout the official documentation here

No, my question is -What is the dist used for ?

You want to know what the variable “dist” contains then?

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.