Python Bar Chart with Matplotlib

preview_player
Показать описание
In this Python tutorial, we will go over how to create a bar chart using matplotlib and numpy.

Near the end I say twenty-three hundred but I meant to say twenty-three thousand.
Рекомендации по теме
Комментарии
Автор

Note that the *left* kwarg to `bar` is deprecated use *x* instead. Support for *left* will be removed in Matplotlib 3.0.
Also, for simple bar charts, you should be able to put your x-axis labels/data right into the plt.bar() without needing to use plt.xticks().

RyanNoonan