SequencePlotter.plot_table(hemi=None, view=('lateral', 'medial'), orientation=None, labels=True, mode='rgb', antialiased=False, rows=('view',), columns=('bin', 'hemi'), hemi_magnet=0, **kwargs)

Create a figure with the images

  • hemi (Literal['lh', 'rh', 'both']) – Hemispheres to plot (default is all hemispheres with data).

  • view (str | Sequence) – Views to plot. A view can be specified as a string, or as a tuple including parallel-view parameters (view, forward, up, scale), e.g., ('lateral', 0, 10, 70).

  • orientation (Literal['horizontal', 'vertical']) – Direction of the time/case axis; overrides row and column settings.

  • labels (bool | Sequence[str]) – Headers for columns/rows of images (default is inferred from the data).

  • mode (Literal['rgb', 'rgba']) – Image mode (default `'rgb', set to 'rgba' to include alpha channel).

  • antialiased (bool) – Apply antialiasing to the images (default False).

  • rows (Sequence[str]) – What to alternate along the rows.

  • columns (Sequence[str]) – What to alternate along the columns.

  • hemi_magnet (float) – Pull the two hemispheres of the same plot closer together (movement in inches).

  • ... – Layout parameters for the figure.


Figure created by the plot.

Return type:



Use the margins parameter to control image spacing. For example (all numbers in inches):

margins = {
    'left': 0.1,    # left mergin
    'right': 0.1,   # right margin
    'top': 0.5,     # margin at the top, include space for title
    'bottom': 0.1,  # bottom
    'hspace': 0.1,  # height of the space between images
    'wspace': 0.1,  # width of the space between images