in:
import matplotlib.pyplot as plt
%matplotlib inline
df.plot()
Gives:
ImportError: matplotlib is required for plotting.
I installed matplotlib through pip, and showing it gives:
Location: c:\users\miscs\appdata\local\programs\python\python36\lib\site-packages
in Jupyter, sys.executable outputs:
'C:\\Users\\miscs\\AppData\\Local\\Programs\\Python\\Python36\\python.exe'
Why is this error occurring and how can I fix it?
import matplotlib