class_docstr: An Htmlbook is used to generate an html page from text and matplotlib figures.
class_docstr_tok: ["An","Htmlbook","is","used","to","generate","an","html","page","from","text","and","matplotlib","figures","."]
docstr: Generates a string representing the Htmlbook (including figures).
docstr_tok: ["Generates","a","string","representing","the","Htmlbook","(","including","figures",")","."]
code: def to_text(self):
      """Generates a string representing the Htmlbook (including figures)."""
      return indent(self.top_doc.getvalue() + self.doc.getvalue())
  
file_path: pycls/pycls/sweep/htmlbook.py
imports: import base64
  from io import BytesIO
  import matplotlib.pyplot
  from yattag import Doc, indent
label_desc: Use image node_id 5 for calling the Htmlbook obj's underlying member method code with example usage: obj.to_text() and returns: indent