I have a linux laptop. My OS is Ubuntu 18.04.5 LTS. My Python version is 3.6.9.
I installed Python matplotlib module as follows:
sudo apt-get install python3-matplotlib
The version installed is: matplotlib: 2.1.1
How do I install latest version of matplotlib ? Do I need to use pip command? If yes, is it going to cause any problems because matplotlib version 2.1.1 is already installed.
What is the exact command for upgrading matplotlib to the latest version?