- Section.add_image_figure(image, caption, alt=None)
Add an image in a figure frame to the section
alt (str) – Alternate text, placeholder in case the image can not be found (HTML alt tag).
image – Image object that was added.
- Return type
add an empty figure
Return the Image object which can be used to write the image data. If a function supports writing to a file-like object, it can be written with
save_image(image). A function that writes a file to disk can be used as