minimaxir/stylecloud

An error was reported on imported StyleCloud version 0.5.1

aiaiduo opened this issue ยท 4 comments

My Python version 3.8.9 ,StyleCloud version is 0.5.1. When I imported StyleCloud, the error information is as follows. Please help me to find out what the problem is. Thks!

Snipaste_2021-04-11_09-29-38

Same is happening for me as well. My python version is 3.9.4.
Screenshot 2021-04-22 225439

Edit:
Found out what the problem is. This module named "makeMappingArray" is deprecated since version 3.2 and I am currently using version 3.4.
So as a bodge, revert back to version 3.2.

image

Works by downgrading matplotlib to 3.2.2

I just pushed out v0.5.2 which removes makeMappingArray and replaces it with a more correct implementation. Let me know if that works!

Thanks for the update. It works like a charm now.