Python Matplotlib
Matplotlib Bars
Bar charts
Matplotlib Bars
With Pyplot, you can use the bar() function to draw bar graphs.
Bar Chart
import matplotlib.pyplot as plt
x = ["A", "B", "C", "D"]
y = [3, 8, 1, 10]
plt.bar(x, y)
plt.show()
Bar charts
With Pyplot, you can use the bar() function to draw bar graphs.
import matplotlib.pyplot as plt
x = ["A", "B", "C", "D"]
y = [3, 8, 1, 10]
plt.bar(x, y)
plt.show()