-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Description
The latest release added the copy= arg to WordCloud.to_array(), which in turn passes it to numpy.asarray(). Unfortunately this arg was added in numpy version 2.0 and isn't supported by earlier versions. Wordcloud claims compatibility with numpy >= 1.6.1, and a lot of machine learning/natural language processing libraries haven't updated to numpy > 2 so support for old versions is still really useful.
How important is maintaining the semantics of the copy option? It would be easy enough to just ignore the copy arg if using an older version of numpy, or to approximate the new behavior using array and/or asarray, but duplicating it exactly would be hard.
I can submit a PR for a fix for this, but I wanted to check on expectations first.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels