How to downgrade software using terminal? New apple user here, I am trying to downgrade matplotlib to 1.3.1 after coming to this potential solution:

https://github.com/matplotlib/matplotlib/issues/3470/

I just have no idea how to do that.
Try this way:

pip uninstall matplotlib
pip install matplotlib==1.3.1