instal matplotlib python code example Example 1: matplotlib install pip install matplotlib Example 2: matplotlib instalation pip install matplotlib