Figure_elec.__init__
- Figure_elec.__init__(n_e, fig=None, spec=None, ij_offset=(0, 0), small_fig=False, **fig_kwgs)[source]
Create an electrode-centered figure layout.
- Parameters:
n_e (int) – Number of electrodes to display.
fig (matplotlib.figure.Figure | None, optional) – Existing figure to populate.
spec (matplotlib.gridspec.GridSpec | None, optional) – Existing subplot specification to reuse.
ij_offset (tuple[int, int], optional) – Row and column offset applied when nesting the layout inside a larger gridspec.
small_fig (bool, optional) – If
True, move titles on the bottom row slightly downward.**fig_kwgs (dict) – Keyword arguments used when creating a new figure.