class_docstr: A report written as HTML.
  
  Methods such as ``save_as_html``, or ``open_in_browser``
  are inherited from class ``nilearn.plotting.html_document.HTMLDocument``.
class_docstr_tok: ["A","report","written","as","HTML",".","Methods","such","as","``","save_as_html","``",",","or","``","open_in_browser","``","are","inherited","from","class","``","nilearn.plotting.html_document.HTMLDocument","``","."]
code: def __str__(self):
      return self.body
  
imports: import copy
  import os
  import warnings
  from pathlib import Path
  from string import Template
  from nilearn.externals import tempita
  from nilearn.plotting.html_document import HTMLDocument
  from nilearn.reporting.utils import figure_to_svg_base64
label_desc: Use image node_id 3 for calling the HTMLReport obj's underlying member method code with example usage: obj.__str__() and returns: self