Mình thấy không ra ảnh hiển thị
In [1]: import matplotlib.pyplot as plt
year=[2018,2020,2022,2024]
revenue=[30,42.5,51.2,63]
plt.plot(year,revenue)
Out[1]: [<matplotlib.lines.Line2D at 0x7fe7cb992520>]
Chào bạn có thể thiếu thư viện matplotlib.pyplot bạn gõ như sau
win+r gõ CMD