r = [5, 6.5, 8, 7, 9, 8, 11, 15, 18, 22]
x = ["01:15:03", "01:15:13", "01:15:25", "01:16:13", "01:17:13", "01:17:58", "01:18:13", "01:19:13", "01:20:13", "01:21:13"]
plt.title('График температуры')
plt.xlabel("Время")
plt.ylabel("Температура '°C'")
plt.grid(True)
plot(x, r, '-r', mec='b')
savefig('example.png')