Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import matplotlib
- import matplotlib.pyplot as plt
- import numpy as np
- # Data for plotting
- t = np.arange(0, 1000000, 100000)
- s = ranges
- fig, ax = plt.subplots()
- ax.plot(t, s)
- ax.set(xlabel='Номера', ylabel='Количество счастливых билетов',
- title='Распределение счастливых билетов')
- ax.grid()
- fig.savefig("test.png")
- plt.show()
Add Comment
Please, Sign In to add comment