Code >
file.py
import numpy as np
import matplotlib.pyplot as plt
x = np.arange(1, 11, 1)
y = np.arange(10, 0, -1)
# plot our list in X,Y coordinates
plt.scatter(x, y)
plt.show()
Output >
Code >
import numpy as np
import matplotlib.pyplot as plt
x = np.arange(1, 11, 1)
y = np.arange(10, 0, -1)
# plot our list in X,Y coordinates
plt.scatter(x, y)
plt.show()
Output >