import matplotlib.pyplot as plt
import matplotlib.path as mpath
import numpy as np
# Data for plotting
t = [2013, 2014, 2015, 2016, 2017]
s = [12.92, 14.19, 15.39, 15.72, 16.03]
fig, ax = plt.subplots()
ax.plot(t, s, 'o', markersize=15)
ax.set(xlabel='year', ylabel='Revenue (billion dollars)',
title='Revenue Growth')
fig.savefig("test.png")
plt.show()
Вывод здесь, но горизонтальная ось представляет год;как я могу остановить отображение десятичных лет?
