I am working on a project of pedestrian detection. Here I need to implement HOG from scratch. So I went through a github and tried to implement a script. When implementing I found some errors as follow. As i am a beginner I can not quite understand the problem. Please help me out please.
matplotlib.pyplot.bar(left=numpy.arange(9), height=HOG_cell_hist, align="center", width=0.8)
The above code shows an error message like this-
TypeError: bar() missing 1 required positional argument: 'x'
How to fix this?