<div dir="ltr"><div><div><div><div><div><div><div><div>Hi all,<br><br></div>I'm encountering a peculiar Pysurfer error on our server and I was wondering if anyone has encountered anything similar or might have some insight into how I can tackle it.  Basically, when our researchers try to save a png image using Brain.save_image() or Brain.save_imageset() the images produced only contain the background color (as you may have inferred from the subject line).  I've traced this back to Scipy method (scipy.misc.imsave), but it looks like this would only output an empty png if the image passed in were completely zeroed out.  Our setup uses the following versions of pysurfer/its dependencies:<br><br></div>Numpy: 1.10.0.dev0+1fe98ff<br></div>Scipy: 0.17.0.dev0+f2f6e48<br></div>Ipython: 3.1.0<br></div><div>nibabel: 2.0.0<br></div><div>Mayavi: 4.4.2<br></div><div>matplotlib: 1.4.3<br></div><div>PIL: 1.1.7<br></div>Pysurfer: 0.5<br><br></div>This setup is running within a Miniconda environment using Python 2.7.11.  I'm uncertain if this is related, but running the example code <a href="http://pysurfer.github.io/examples/plot_basics.html">here</a> produces the following warning:<br><br><i>(ipython:20765): Gdk-WARNING **: /build/buildd/gtk+2.0-2.24.27/gdk/x11/gdkdrawable-x11.c:952 drawable is not a pixmap or window</i><br><br>Any insight would be greatly appreciated.<br><br></div>Best,<br></div>John Pellman<br></div>