I can’t seem to find documentation on this.
Matplotlib says to run:
sudo yum install python-matplotlib
which installs all the dependancies and this version of matplotlib successfully:
python-matplotlib.x86_64 0:0.99.1.2-1.6.amzn1
Source : python – Installing matplotlib on RedHat ideally using yum – Stack Overflow