resumeanalyser.plotting

Module Contents

Functions

plot_wordcloud(text)

Plot the wordcloud of the input resume text.

plot_topwords(text[, n])

Plot a bar chart of word counts in the input resume text.

plot_suite(text[, n])

Plot the comprehensive plot suite for the input resume text.

resumeanalyser.plotting.plot_wordcloud(text)[source]

Plot the wordcloud of the input resume text.

Parameters:

text (str) – Text to plot wordcloud on.

Returns:

wordcloud plot of important words.

Return type:

matplotlib.image.AxesImage

Examples

>>> from resumeanalyser.plotting import plot_wordcloud
>>> txt = 'a b c d e f g a a a a a'
>>> plot_wordcloud(txt)
resumeanalyser.plotting.plot_topwords(text, n=10)[source]

Plot a bar chart of word counts in the input resume text.

Parameters:
  • text (str) – Text to plot top frequency barchart on.

  • n (int, optional) – Plot the top n words. By default, 10.

Returns:

Bar chart of word counts.

Return type:

matplotlib.container.BarContainer

Examples

>>> from resumeanalyser.plotting import plot_topword
>>> txt = 'a b c d e f g a a a a a'
>>> plot_topwords(txt,n=5)
resumeanalyser.plotting.plot_suite(text, n=10)[source]

Plot the comprehensive plot suite for the input resume text.

Parameters:
  • text (str) – Text to plot suite on.

  • n (int, optional) – Plot the top n words. By default, 10.

Returns:

A comprehensive visualization of the resume text keywords.

Return type:

matplotlib.figure.Figure

Examples

>>> from resumeanalyser.plotting import plot_suite
>>> txt = 'a b c d e f g a a a a a'
>>> plot_suite(txt,n=10)