I am installing BaseMap on my linux machine(ubuntu 20.04) and already downloaded matplotlib earlier I followed instructions as ,
pip install --upgrade --user