Untitled
unknown
plain_text
3 years ago
359 B
4
Indexable
x_values = district_counts_low_2['share_all']
y_values = district_counts_low_2['district']
# Создание горизонтального столбчатого графика
plt.barh(y_values, x_values)
# Добавление подписей к осям
plt.xlabel('Share All')
plt.ylabel('District')
# Показ графика
plt.show()Editor is loading...