sub plot matplotlib

PHOTO EMBED

Mon Nov 21 2022 03:12:33 GMT+0000 (Coordinated Universal Time)

Saved by @janduplessis883

fig = plt.figure()

plt.subplot(2, 2, 1)
plt.plot(x, y)

plt.subplot(2, 2, 2)
plt.plot(x, y)

plt.subplot(2, 2, 3)
plt.plot(x, y)

plt.subplot(2, 2, 4)
plt.plot(x, y)

plt.show()
content_copyCOPY