setup environment for matplotlib in ubuntu code example
Example 1: python install matplotlib
pip install matplotlib
Example 2: ubuntu install matplotlib
sudo apt install python3-matplotlib
pip install matplotlib
sudo apt install python3-matplotlib