I'm trying to create a word cloud using Repl.it by following this towards data science article. However, I'm getting an error with %matplotlib inline (underlined in red). How do I fix this?
# Import packages
import matplotlib.pyplot as plt
%matplotlib inline
# Define a function to plot word cloud
def plot_cloud(wordcloud):
# Set figure size
plt.figure(figsize=(40, 30))
# Display image
plt.imshow(wordcloud)
# No axis details
plt.axis("off");