mne.viz.mne_analyze_colormap(limits=[5, 10, 15], format=’mayavi’)[source]¶Return a colormap similar to that used by mne_analyze.
| Parameters: | limits : list (or array) of length 3 or 6 
 format : str 
  | 
|---|---|
| Returns: | cmap : instance of matplotlib.pyplot.colormap | array 
  | 
Notes
For this will return a colormap that will display correctly for data that are scaled by the plotting function to span [-fmax, fmax].
Examples
The following code will plot a STC using standard MNE limits:
colormap = mne.viz.mne_analyze_colormap(limits=[5, 10, 15]) brain = stc.plot(‘fsaverage’, ‘inflated’, ‘rh’, colormap) brain.scale_data_colormap(fmin=-15, fmid=0, fmax=15, transparent=False)