eelbrain.plot._brain_object.Brain.image

Brain.image(name=None, format='png', alt=None, mode='rgb')

Create an FMText Image from a screenshot

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

  • format (str) – File format (default ‘png’).

  • alt (None | str) – Alternate text, placeholder in case the image can not be found (HTML alt tag).

  • mode ('rgb' | 'rgba') – 'rgb' to render solid background, or 'rgba' to include alpha channel for a transparent background (default).