I went to the Matplotlib official site discourse and found this post: https://discourse.matplotlib.org/t/matplotlib-announce-ann-matplotlib-3-4-1/21991
Using pip install matplotlib==3.4.1 worked! Originally I had tried pip install matplotlib=3.4.1 but using only a single "=" is wrong.
python - How do I install Matplotlib 3.4.1 in Anaconda? - Stack Overflow
Anaconda 2020.07 Matplotlib not updating
python - How do I get matplotlib to actually update to the latest version? - Stack Overflow
Conda Not installing Matplotlib for PyPlot
Videos
I went to the Matplotlib official site discourse and found this post: https://discourse.matplotlib.org/t/matplotlib-announce-ann-matplotlib-3-4-1/21991
Using pip install matplotlib==3.4.1 worked! Originally I had tried pip install matplotlib=3.4.1 but using only a single "=" is wrong.
I tried with DavidD003 solution
https://stackoverflow.com/a/66932922/11753330
and it worked also with conda command:
conda install -c conda-forge matplotlib==3.4.2
In this way the update succeded. Before:
matplotlib 3.3.4 py38hecd8cb5_0
matplotlib-base 3.3.4 py38h8b3ea08_0
After:
matplotlib 3.4.2 py38h50d1736_0 conda-forge
matplotlib-base 3.4.2 py38h6152e83_0 conda-forge
I think this issue in github may be related. This response mentions doing an update of conda using the force flag, which seemed to also work for users who reported that a normal update without the flag didn't work:
conda update --force conda
I'm not sure why the above answer had negative rating.
I had conda running for some time ... tonight I updated, and then resulted in every conda action resulting in:
RemoveError: 'setuptools' is a dependency of conda and cannot be removed from
conda's operating environment.
The only thing that actually worked was
conda install -c anaconda setuptools
After which sanity was restored. In between correction attempts I tried to create a new environment which always failed with the same error. After the fix above, I found that the desired environment did not exist in 'conda env list' but it refused to create it giving an error that it already existed. I needed to go into my ~/miniconda3/envs directory where I found the offending directory, deleted it, and was able to create a desired.