'How to get n points that follow a Gaussian distribution in convex hull by python?

I am searching for a long time on net. But no use. Please help or try to give some ideas how to get n points that follow a Gaussian distribution in convex hull(or an irregular flat area that is not a rectangle) by python?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source