spiketools.plts.utils.get_grid_subplot¶
- spiketools.plts.utils.get_grid_subplot(grid, row, col, **plt_kwargs)[source]¶
Get a subplot section from a grid layout.
- Parameters:
- gridmatplotlib.gridspec.GridSpec
A predefined plot grid layout.
- row, colint or slice
The row(s) and column(s) in which to place the subplot.
- plt_kwargs
Additional arguments to pass into the plot function.
- Returns:
- matplotlib.AxesSubplot
Subplot axis.