matplotlib on osx python3 code example Example: install matplotlib.pyplot mac python 3 sudo pip3 install matplotlib