new_contents: # make a word cloud with a single word that's repeated.
  import numpy as np
  import matplotlib.pyplot as plt
  from wordcloud import WordCloud
  text = "square"
  
  x, y = np.ogrid[:300, :300]
  
  mask = (x - 150) ** 2 + (y - 150) ** 2 > 130 ** 2
  mask = 255 * mask.astype(int)
  plt.imshow(mask)
  plt.figure()
  
  wc = WordCloud(repeat=True, mask=mask).generate(text)
  plt.imshow(wc)
  plt.show()
subject: add example with single word