from numpy import random
import matplotlib.pyplot as plt

x_elements = [ random.randint(1, 100) for i in range(10) ]
plt.plot(x_elements, color="red", marker="o", linestyle='dashdot', linewidth=2.0)
plt.grid()
plt.title("Wykres liczb losowych od 1 do 100")

plt.show()