eelbrain.plot.Butterfly.image

Butterfly.image(name=None, format=None, close=None)

Create FMTXT Image from the figure

Parameters:
  • name (str) – Name for the file (without extension; default is ‘image’).

  • format (str) – File format. For HTML, use svg for vector graphics and png for pixel graphics. The default is svg and can be changed with configure()).

  • close (bool) – Close the figure after writing to the image. By default, this is True when in an inline context (Jupyter notebook), False otherwise).

Returns:

image – Image FMTXT object.

Return type:

fmtxt.Image