how to install matplotlib through terminal code example Example: matplotlib install pip install matplotlib