Explore
Connect
Documentation
Snippets
Log in
Sign up
Example
1
2
3
4
5
# Plot a line y = -x
x_axis = np.linspace(-
4
,
4
,
100
)
y_axis = -x_axis
plt.plot(x_axis, y_axis)
Enter to Rename, Shift+Enter to Preview
Run