Getting error

keep getting this problem Traceback (most recent call last): File “script.py”, line 69, in plt.bar(x=data[‘Country’], height=data[‘GDP’]) TypeError: bar() missing 1 required positional argument: ‘left’

my code is here:
plt.bar(x=data[‘Country’], height=data[‘GDP’])
plt.show()

help me solve this kind of problems

The error means that you called the function w/o passing the required arguments.

See:

https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.bar.html

Might be missing some parameters:
Ex:
plt.bar(x, height, width, bottom, align)