Error

Course Name: Python for Trading: Basic, Section No: 5, Unit No: 14, Unit type: Notebook

m getting bellow error when usig metplotlib

code 

import matplotlib.pyplot as plt
%matplotlib inline

plt.plot(infy_close)
plt.show()

am getting error 

Cell In[83], line 4
      1 import matplotlib.pyplot as plt
----> 4 plt.plot(infy_close)
      5 plt.show()

Hello Yogeswara,



I tried running the notebook on portal as well as on the local system by downloading the zip file (located in the last section of the course) which contains all the notebooks and data files presented in the course.



Can you help me understand the error by mentioning the entire error which you encountered? Usually, if you have set up a virtual Python environment similar to Quantra, then you should be able to run the notebook. You can check the blog for detailed instructions on how to set up a virtual environment. 



Do let me know and we will try to resolve your issue.