spiketools.plts.utils.make_axes¶
- spiketools.plts.utils.make_axes(n_axes, n_cols=5, figsize=None, row_size=4, col_size=3.6, wspace=None, hspace=None, title=None, **plt_kwargs)[source]¶
Make a subplot with multiple axes.
- Parameters:
- n_axesint
The total number of axes to create in the figure.
- n_colsint, optional, default: 5
The number of columns in the figure.
- figsizetuple of float, optional
Size to make the overall figure. If not given, is estimated from the number of axes.
- row_size, col_sizefloat, optional
The size to use per row / column. Only used if figsize is None.
- wspace, hspacefloat, optional
Spacing parameters for between subplots. These get passed into plt.subplots_adjust.
- titlestr, optional
A title to add to the figure.
- **plt_kwargs
Extra arguments to pass to plt.subplots.
- Returns:
- axes1d array of AxesSubplot
Collection of axes objects.