I installed matplot.lib by using the command
sudo apt-get install python3-matplotlib.
While running a program written in python it is showing
Traceback (most recent call last): File "example.py", line 6, in <module> import matplotlib.pyplot as plt ImportError: No module named matplotlib.pyplot
What is the problem and how do I install matplotlib properly?
I am trying to run a program that calculates refractive index and the link is https://github.com/polyanskiy/refractiveindex.info-scripts