Open Bertin-fap opened 6 months ago
in wordcloud.py line 106 should read self.colormap = plt .colormaps[colormap] with matplotlib 3.9.0
Facing same issue. Work around is to cast it to an array, e.g.
wc = WordCloud(width = 400, height = 400, stopwords = stopwords).generate(ws) axi.imshow(wc.to_array())
Description
in wordcloud.py line 106 should read self.colormap = plt .colormaps[colormap] with matplotlib 3.9.0
Steps/Code to Reproduce
Expected Results
Actual Results
Versions