<div dir="ltr">Hi all,<div><br></div><div>Probably a simple question, but I&#39;m running into issues when creating a Brain instance using stc.plot(). Specifically, the error I am getting is: </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">stc.plot(subject=subject, surface=&#39;inflated&#39;, hemi=&#39;lh&#39;, subjects_dir=subjects_dir)<br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"> </blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">TypeError: Argument given by name (&#39;attribList&#39;) and position (3)</blockquote><div><br></div><div>I see the note in the stc.plot docstring saying that PySurfer needs the SUBJECTS_DIR environment. I&#39;ve tried setting the SUBJECTS_DIR environment in several different manners (e.g. setenv in command line before calling python, using os.environ in python, with and without manually supplying the subjects_dir flag to stc.plot). </div><div><br></div><div>Any advice on how to fix?</div><div><br></div><div>Thanks in advance,</div><div>Sam</div><div><br></div><div><p class="MsoNormal" style="background-image:initial;background-repeat:initial"><b><span style="font-size:10pt;font-family:&#39;Book Antiqua&#39;,serif;color:black">Sam Zorowitz</span></b><span style="color:black"></span></p>

<p class="MsoNormal" style="background-image:initial;background-repeat:initial"><span style="font-size:10pt;font-family:&#39;Book Antiqua&#39;,serif;color:black">Clinical Research Coordinator</span><span style="color:black"></span></p>

<p class="MsoNormal" style="background-image:initial;background-repeat:initial"><span style="font-size:10pt;font-family:&#39;Book Antiqua&#39;,serif;color:black">Division of Neurotherapeutics</span><span style="color:black"></span></p>

<p class="MsoNormal" style="background-image:initial;background-repeat:initial"><span style="font-size:10pt;font-family:&#39;Book Antiqua&#39;,serif;color:black">Department of Psychiatry:
Neurosciences</span><span style="color:black"></span></p>

<p class="MsoNormal" style="background-image:initial;background-repeat:initial"><span style="font-size:10pt;font-family:&#39;Book Antiqua&#39;,serif;color:black">Massachusetts General Hospital</span><span style="color:black"></span></p>

<p class="MsoNormal" style="background-image:initial;background-repeat:initial"><span style="font-size:10pt;font-family:&#39;Book Antiqua&#39;,serif;color:black">149 13th Street, Rm 2620e</span><span style="color:black"></span></p>

<p class="MsoNormal" style="background-image:initial;background-repeat:initial"><span style="font-size:10pt;font-family:&#39;Book Antiqua&#39;,serif;color:black">Charlestown, MA 02129</span><span style="color:black"></span></p>

<p class="MsoNormal" style="background-image:initial;background-repeat:initial"><span style="font-size:10pt;font-family:&#39;Book Antiqua&#39;,serif;color:black">(p) 617.724.0244</span><span style="color:black"></span></p></div></div>