matplotlib 3.0: module 'matplotlib.cbook' has no attribute 'is_string_like' in
mattivi opened this issue · 4 comments
mattivi commented
I am running the Example 1 from the main page. However, for any plot I get the error
module 'matplotlib.cbook' has no attribute 'is_string_like'
and I get
without any label and connections.
I have matplotlib version 3.0.0, and cbook.is_string_like was deprecated https://matplotlib.org/api/api_changes.html
palash1992 commented
Can you downgrade your matplotlib version?
mattivi commented
Yes, I had downgraded and it worked. Issue above was more to notify the problem with matplotlib 3.x
palash1992 commented
Thanks!
wang122300090 commented
yes ,I had downgraded matplotlib version to 2.2.3,it works. just input pip install matplotlib==2.2.3.