Thread
:
Question 7; calculating slope in Python
View Single Post
#
2
04-13-2016, 02:04 PM
galo
Junior Member
Join Date: Jan 2016
Posts: 7
Re: Question 7; calculating slope in Python
How are you generating your random points? If you use numpy to generate the coordinates of one point, it shouldn't happen. Try this:
Code:
x, y = np.random.uniform(-1,1,2)
galo
View Public Profile
Send a private message to galo
Find all posts by galo