mne-tools / mne-python

MNE: Magnetoencephalography (MEG) and Electroencephalography (EEG) in Python
https://mne.tools
BSD 3-Clause "New" or "Revised" License
2.7k stars 1.31k forks source link

"Brain" object initialised with "curv" parameter; doesn't exist #5260

Closed jshanna100 closed 6 years ago

jshanna100 commented 6 years ago

MNE 0.16.1, mne.viz._3d.py, line 1665:

    brain = Brain(subject, hemi=hemi, surf=surface, curv=True,
                  title=title, cortex=cortex, size=size,
                  background=background, foreground=foreground,
                  figure=figure, subjects_dir=subjects_dir,
                  views=views)

Variable "curv" is not part of the init parameters for class Brain. Seems to work fine if I just remove it.

larsoner commented 6 years ago

Thanks for the report, this is fixed in master and will be in the next maintenance release.