I am currently practicing matplotlib. This is the first example I practice.
#!/usr/bin/python import matplotlib.pyplot as plt radius = [1.0, 2.0, 3.0, 4.0]
If you are using Python 2, just run
sudo apt-get install python-matplotlib
The best way to get matplotlib is :
matplotlib
pip install matplotlib
cause the previous way may give you a old version of matplotlib