eelbrain.fmtxt.Figure

class eelbrain.fmtxt.Figure(content, caption=None, options=None, rasterize=None)

Represent a figure with figure caption

Parameters:
  • content (FMTextLike)

  • caption (FMTextLike)

  • options (dict)

  • rasterize (bool)

Methods

append(content)

Append content to the FMText item

copy_pdf()

Copy PDF to clipboard

copy_tex()

Copy TeX to clipboard

get_html([env])

Complete HTML representation

get_rtf([env])

get_str([env])

String representation

get_tex(env)

TeX representation

save_html([path, embed_images, meta])

Save in HTML format

save_pdf([path])

Save in PDF format

save_rtf([path])

Save in Rich Text format

save_tex([path])

Save in TeX format

save_txt([path])

Save as plain text file