If you are getting | 'module' object is not callable | (not a question)
1.- Some observation I encountered when doing the homework with Python is that when importing matplotlib, please make sure you don't forget to add .pyplot after matplotlib, otherwise you will always encounter an error saying 'module' object is not callable.
2.- Another reason why you might be getting the same error even when importing matplotlib.pyplot appropriately: Assigning a function to a different value (e.g. plt.bar = 4).
This means that you are using an equal sign between plt.method_name and its parameters between parentheses | plt.figure = (figsize = (15,30) |
Instead of behaving as a function, your function becomes a normal python variable, so it is convenient to re-run the whole kernel instead to restart all variables and re-import the necessary libraries.
Photo below does not show the two assignments. It shows the one from the videos instead.