October 2018
Beginner to intermediate
676 pages
18h 30m
English
The following are the steps to implement the logic:
x = np.arange(-5, 5, 0.1)y = x ** 2
fig = plt.figure(figsize=(8, 6))ax = fig.add_subplot(111, facecolor='skyblue')
ax.plot(x, y, 'o')
cursor = Cursor(ax, color='red', linewidth=5)
plt.show()
Read now
Unlock full access