Solved

The Following Code Creates and Configures a WordCloud Object: from Wordcloud

Question 22

Multiple Choice

The following code creates and configures a WordCloud object: from wordcloud import WordCloud
Wordcloud = WordCloud(colormap='prism', mask=mask_image,
Background_color='white')
Which of the following statements is false?


A) The default WordCloud width and height in pixels is 400x200, unless you specify width and height keyword arguments or a mask image. The mask keyword argument specifies the mask image to use.
B) For a mask image, the WordCloud size is the image's size.
C) WordCloud uses Matplotlib under the hood. WordCloud assigns random colors from a color map. You can supply the colormap keyword argument and use one of xe "Matplotlib visualization library:color maps"Matplotlib's named color maps.
D) By default, the word is drawn on a white background.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents