Generation

generate functionTue, 14 Mar 2023

Change the code of the graph so that only whole numbers are displayed on the x scale plt.plot(ks, k_inertia) plt.plot(ks, k_inertia ,'ro') plt.xlabel('Количество кластеров') plt.ylabel('Инерция')

plt.xticks(ks)

Questions about programming?Chat with your personal AI assistant