python pyplot install code example Example 1: matplotlib install pip install matplotlib Example 2: matplotlib install pip3 install matplotlib