The order matters

Report a typo

Put the following lines of code in the proper order so that we get a proper bar graph.

Put the items in the correct order
plt.ylabel()
plt.xlabel()
plt.title()
plt.legend()
plt.show()
plt.figure(figsize=(16, 8))
plt.bar(categories, values)
import matplotlib.pyplot as plt
categories = ['A', 'B', 'C']
values = [1.0, 2.0, 3.0]
___

Create a free account to access the full topic