SequencePlotter.plot_table(hemi=None, view=('lateral', 'medial'), orientation='horizontal', labels=True, mode='rgb', antialiased=False, **kwargs)

Create a figure with the images

  • hemi ('lh' | 'rh' | 'both') – Hemispheres to plot (default is all hemispheres with data).

  • view (str | list of {str | tuple}) – 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 ('vertical' | 'horizontal') – Direction of the time/case axis.

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

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

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

  • .. – Layout parameters for the figure.


fig – 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