mne.viz.
add_background_image
(fig, im, set_ratios=None)[source]¶Add a background image to a plot.
Adds the image specified in im to the figure fig. This is generally meant to be done with topo plots, though it could work for any plot.
Note: This modifies the figure and/or axes in place.
Parameters: | fig : plt.figure
im : array, shape (M, N, {3, 4})
set_ratios : None | str
|
---|---|
Returns: | ax_im : instance of the created matplotlib axis object
|
Notes
New in version 0.9.0.