conc
  1. API
  2. plot
  • Introduction to Conc
  • Tutorials
    • Get Started with Conc
    • Quick Conc Recipes
    • Installing Conc
  • Explanations
    • Why Conc?
    • Anatomy of a corpus
    • Performance
  • Development
    • Releases
    • Roadmap
    • Developer Guide
  • API
    • corpus
    • conc
    • corpora
    • frequency
    • ngrams
    • concordance
    • keyness
    • collocates
    • result
    • plot
    • text
    • core
  1. API
  2. plot

plot

Conc plot result class.

source

Plot

 Plot (type:str, html:str)

Class for handling delivery of Conc plot results

Type Details
type str report type
html str HTML representation of the plot, may include js/css

source

Plot.to_html

 Plot.to_html ()

Return HTML string for plot


source

Plot.to_file

 Plot.to_file (filename:str, encoding='utf-8')

Return HTML string for plot

Type Default Details
filename str filename to write HTML to
encoding str utf-8 encoding string for writing file

source

Plot.display

 Plot.display ()

Show the plot in a Jupyter notebook

  • Report an issue