In [3]:
import matplotlib.pyplot as plt
import numpy as np

x = np.linspace(0, 2 * np.pi, 51)
y = np.sin(x)

fig, ax = plt.subplots()
ax.plot(x, y)
plt.show()
In [4]:
x = np.linspace(0, 2 * np.pi, 50)
y = np.sin(x)

fig, ax = plt.subplots()
ax.plot(x, y)
plt.show()
In [5]:
x = np.linspace(0, 2 * np.pi, 200)
y = np.sin(x)

fig, ax = plt.subplots()
ax.plot(x, y)
plt.show()
In [ ]: