class_docstr: default setting for report constants
docstr: add an default large image to pdf with a caption above
     (80% of the report width, w/h = 2.0)
  
  Args:
      image_path (str): path of the image
      caption (str): image caption above the image
      style (str): style for caption
docstr_tok: ["add","an","default","large","image","to","pdf","with","a","caption","above","(","80","%","of","the","report","width",",","w\/h","=","2.0",")","Args",":","image_path","(","str",")",":","path","of","the","image","caption","(","str",")",":","image","caption","above","the","image","style","(","str",")",":","style","for","caption"]
code: def add_large_image(self, image_path, caption=None, style=None):
      """
      add an default large image to pdf with a caption above
         (80% of the report width, w/h = 2.0)
  
      Args:
          image_path (str): path of the image
          caption (str): image caption above the image
          style (str): style for caption
      """
      width = (self.w - self.r_margin - self.l_margin) * 0.80
      height = width / 2
  
      if caption is None:
          if self.y + height > self.h - self.foot_size:
              warnings.warn(
                  message="Warning: figure will exceed the page bottom, "
                  "adding a new page."
              )
              self.add_page()
      else:
          if (
              self.y + height + CustomPdf.LINE_HEIGHT
              > self.h - self.foot_size
          ):
              warnings.warn(
                  message="Warning: figure will exceed the page bottom, "
                  "adding a new page."
              )
              self.add_page()
      if caption is not None:
          self.add_new_line(caption, style=style)
      local_x = self.x
      local_y = self.y
  
      self.image(image_path, local_x, local_y, width, height, "", "")
      self.ln(height)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  import warnings
  import datetime
  import re
  from fpdf import FPDF
label_desc: Use image node_id 17 for calling the CustomPdf obj's underlying member method code with example usage: obj.add_large_image(image_path, caption, style) without return types