To install Matplotlib with pip, simply type the following:
pip3 install matplotlib
It will automatically collect and install dependencies such as numpy.