gen_fig_elec
- nrv.eit.utils.gen_fig_elec(n_e, fig=None, spec=None, ij_offset=(0, 0), small_fig=False, **fig_kwgs)[source]
Create a figure layout with one axis per electrode and one central axis.
- Parameters:
n_e (int) – Number of electrodes.
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.
small_fig (bool, optional) – If
True, shift bottom titles slightly downward.**fig_kwgs (dict) – Keyword arguments used when creating a new figure.
- Returns:
Figure and axes list.
- Return type: