Explore
Connect
Documentation
Snippets
Log in
Sign up
Example
1
2
3
4
5
# Create red points centered at (-2, -2)
red_points = np.random.randn(
50
,
2
) -
2
*np.ones((
50
,
2
))
# Create blue points centered at (2, 2)
blue_points = np.random.randn(
50
,
2
) +
2
*np.ones((
50
,
2
))
Enter to Rename, Shift+Enter to Preview
Run