samar
July 17, 2020, 10:44am
1
Dear All,
I am facing problem in running code that call function “plot_weights” in W1D4_Tutorial2
I tried to upgrade the matplotlib but I am facing another problem in the update process
And here is the function of the tutorial
Please Help
Thanks
‘use_line_collection’ option causes the issue.
However, pip install --user --upgrade matplotlib
solves the problem (from a quick search on the web)
2 Likes
samar
July 19, 2020, 9:59am
3
I first needed to update pip, then tried to update matplotlib, but not permitted, then I found out that it needed to be restarted so pip command could be used to update matlab.
Thanks spiroschv
1 Like
pip install --user --upgrade pip
pip install --user --upgrade matplotlib
So, now is working?
1 Like
samar
July 19, 2020, 9:53pm
5
yes, but with out --user, I run the cmd as administrator