palash1992/GEM

matplotlib 3.0: module 'matplotlib.cbook' has no attribute 'is_string_like' in

mattivi opened this issue · 4 comments

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
image
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

Can you downgrade your matplotlib version?

Yes, I had downgraded and it worked. Issue above was more to notify the problem with matplotlib 3.x

Thanks!

yes ,I had downgraded matplotlib version to 2.2.3,it works. just input pip install matplotlib==2.2.3.