Skip to content

Commit

Permalink
MAINT: Revert mne-tools#10305
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Feb 23, 2022
1 parent 195c99a commit ca7effd
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ html-noplot:
@echo "Build finished. The HTML pages are in _build/html_stable."

html_dev-front:
@PATTERN="\(plot_mne_dspm_source_localization.py\|plot_receptive_field.py\|plot_mne_inverse_label_connectivity.py\|plot_sensors_decoding.py\|plot_stats_cluster_spatio_temporal.py\|plot_20_visualize_evoked.py\)" make html_dev-pattern;
@PATTERN="\(30_mne_dspm_loreta.py\|50_decoding.py\|30_strf.py\|20_cluster_1samp_spatiotemporal.py\|20_visualize_evoked.py\)" make html_dev-pattern;

dirhtml:
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) _build/dirhtml
Expand Down
5 changes: 3 additions & 2 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
# list see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html

from datetime import datetime, timezone
import faulthandler
import gc
import os
import subprocess
import sys
import time
import warnings
from datetime import datetime, timezone
import faulthandler

import numpy as np
import matplotlib
Expand Down Expand Up @@ -732,6 +732,7 @@ def append_attr_meth_examples(app, what, name, obj, options, lines):
size=xxl),
],
# \u00AD is an optional hyphen (not rendered unless needed)
# If these are changed, the Makefile should be updated, too
'carousel': [
dict(title='Source Estimation',
text='Distributed, sparse, mixed-norm, beam\u00ADformers, dipole fitting, and more.', # noqa E501
Expand Down
2 changes: 1 addition & 1 deletion tutorials/clinical/10_ieeg_localize.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def plot_overlay(image, compare, title, thresh=None):
# reg_affine, _ = mne.transforms.compute_volume_registration(
# CT_orig, T1, pipeline='rigids', zooms=dict(translation=5)))
#
# And instead we just hard-code the resulting 4x4 matrix:
# Instead we just hard-code the resulting 4x4 matrix:

reg_affine = np.array([
[0.99270756, -0.03243313, 0.11610254, -133.094156],
Expand Down
2 changes: 1 addition & 1 deletion tutorials/preprocessing/70_fnirs_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@
mne.viz.plot_evoked_topo(epochs['Right'].average(picks='hbo'), color='r',
axes=axes, legend=False)

# Tidy the legend.
# Tidy the legend:
leg_lines = [line for line in axes.lines if line.get_c() == 'b'][:1]
leg_lines.append([line for line in axes.lines if line.get_c() == 'r'][0])
fig.legend(leg_lines, ['Left', 'Right'], loc='lower right')

0 comments on commit ca7effd

Please sign in to comment.