dhlab.visualize.cloud

Module Contents

Functions

make_cloud

Create a word cloud from a frequency list.

draw_cloud

Draw a word cloud produced by :func:make_cloud.

cloud

Make and draw a cloud from a pandas dataframe, using :func:make_cloud and

API

dhlab.visualize.cloud.make_cloud(json_text, top=100, background='white', stretch=lambda x: ..., width=500, height=500, font_path=None)

Create a word cloud from a frequency list.

dhlab.visualize.cloud.draw_cloud(sky, width=20, height=20, fil='')

Draw a word cloud produced by :func:make_cloud.

dhlab.visualize.cloud.cloud(df, column='', top=200, width=1000, height=1000, background='black', file='', stretch=10, font_path=None)

Make and draw a cloud from a pandas dataframe, using :func:make_cloud and

Func:

draw_cloud.