Releases: nipy/PySurfer
Releases · nipy/PySurfer
0.11.2
0.11.0
0.10.0
0.9.0
Version 0.7
- Support for Python 3.3 and up.
- A new
alpha
keyword to theBrain
constructor now controls
opacity of the rendered brain surface. - The
curv
keyword to theBrain
constructor has been
deprecated. To replicate previous behavior whencurv
was set to
True
simply omit thecurv
keyword. To replicate previous
behavior whencurv
was set toFalse
, simply set the
cortex
keyword to None. To ease transition thecurv
argument
will still be caught and processed, but it will be removed in a
future release. - The
cortex
keyword to theBrain
constructor now also accepts
a valid color specification (such as a 3-tuple with RGB values or a
color name) to render the cortical surface in that color without
rendering binary curvature values. Additionally it now also accepts
a dictionary with keyword arguments that are passed on to the call
tomlab.pipeline.surface
. Brain.save_movie
now uses theimageio
library, eliminating the need
to manually installffmpeg
.imageio
has been added as an optional
dependency which can be installed with
$ pip install pysurfer[save_movie]
.Brain.save_image
now has the option to save with alpha channel and
antialiasing.
Version 0.6
- Values that were previously selected using a
config_opts
dictionary in theBrain
constructor are now keyword arguments.
This should make it easier to use tab-completion in IPython, and will
generally simplify your scripts. To ease transition, aconfig_opts
argument will still be caught, and its entries will be used (overriding
the keyword arguments), but it will be removed in a future release. - The ability to set default values in a config file has been removed.
While convenient, this approach encourages code that is not fully
reproducible. While existing code that was written expecting a config
file will still run, the visualization will fall back to default values.
These should be updated directly in your plotting scripts. - Figure size is now specified only through the
size
keyword argument
of :class:Brain
. To make a rectangular window, pass a(width, height)
tuple. Passing a single value tosize
will still make a square window. - The
cortex
keyword argument can now be a mayavi colormap name or
a(colormap, min, max, reverse)
tuple for full control. - Morphometry plotting was made more flexible with the ability to pass
a specific colormap and anchor points for that colormap. Additionally,
the default anchor points now use robust statistics to give better
values. - Contour overlay plotting was made more flexible by adding keyword arguments
to control whether a colorbar should be shown and whether existing contour
overlays should be removed before plotting.