We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0efe50b commit 7e7d522Copy full SHA for 7e7d522
examples/visualization/3d_to_2d.py
@@ -122,7 +122,7 @@
122
# lt.save(layout_path / layout_name) # save if we want
123
124
# # We've already got the layout, load it
125
-lt = mne.channels.read_layout(layout_name, path=layout_path, scale=False)
+lt = mne.channels.read_layout(layout_path / layout_name, scale=False)
126
x = lt.pos[:, 0] * float(im.shape[1])
127
y = (1 - lt.pos[:, 1]) * float(im.shape[0]) # Flip the y-position
128
fig, ax = plt.subplots()
0 commit comments