某一句代码:
my_wordcloud=WordCloud(background_color='white',max_words=2000,
mask=coloring,max_font_size=60,random_state=42,scale=2,
font_path="i:simhei.ttf").generate(word_space_split)
运行时提示错误: File "c:\WeChatOutputSignature.py", line 50, in <module>
font_path="c:/Windows/Font/simhei.ttf").generate(word_space_split)
TypeError: 'module' object is not callable
求大佬们指点一下,这下我
my_wordcloud=WordCloud(background_color='white',max_words=2000,
mask=coloring,max_font_size=60,random_state=42,scale=2,
font_path="i:simhei.ttf").generate(word_space_split)
运行时提示错误: File "c:\WeChatOutputSignature.py", line 50, in <module>
font_path="c:/Windows/Font/simhei.ttf").generate(word_space_split)
TypeError: 'module' object is not callable
求大佬们指点一下,这下我