eelbrain.plot.ColorList.image

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

Create FMTXT Image from the figure

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

  • format (Optional[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 (Optional[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