
.. currentmodule:: nilearn

.. include:: names.rst

0.2.2
=====

**Released February 2016**

The ``0.2.2`` is a bugfix + dependency update release (for ``sphinx-gallery``).
It aims at preparing a renewal of the tutorials.

New
---

- Fetcher for Megatrawl Netmats dataset.

Enhancements
------------

- Flake8 is now run on pull requests.

- Reworking of the documentation organization.

- ``Sphinx-gallery`` updated to version ``0.1.1``.

- The default ``n_subjects=None`` in function :func:`~datasets.fetch_adhd` is now changed to ``n_subjects=30``.

Fixes
-----

- Fix ``symmetric_split`` behavior in function :func:`~datasets.fetch_atlas_harvard_oxford`.

- Fix casting errors when providing integer data to function :func:`~image.high_variance_confounds`.

- Fix matplotlib ``1.5.0`` compatibility in function :func:`~plotting.plot_prob_atlas`.

- Fix matplotlib backend choice on Mac OS X.

- Function :func:`~plotting.find_xyz_cut_coords` raises a meaningful error when 4D data is provided instead of 3D.

- Class :class:`~maskers.NiftiSpheresMasker` handles radius smaller than the size of a :term:`voxel`.

- Class :class:`~regions.RegionExtractor` handles data containing ``Nans``.

- Confound regression does not force systematically the normalization of the confounds.

- Force time series normalization in :class:`~connectome.ConnectivityMeasure` and check dimensionality of the input.

- Function ``nilearn._utils.numpy_conversions.csv_to_array`` could consider valid CSV files as invalid.

Changes
-------

- Deprecated dataset downloading function have been removed.

- Download progression message refreshing rate has been lowered to sparsify CircleCI logs.

Contributors
------------

Contributors (from ``git shortlog -ns 0.2.1..0.2.2``):

    * `Kamalakar Reddy Daddy`_ (39)
    * `Alexandre Abraham`_ (22)
    * `Loic Estève`_ (21)
    * `Gael Varoquaux`_ (19)
    * `Alexandre Abadie`_ (12)
    * `Salma Bougacha`_ (7)
    * `Danilo Bzdok`_ (3)
    * `Arthur Mensch`_ (1)
    * `Ben Cipollini`_ (1)
    * `Elvis Dohmatob`_ (1)
    * `Óscar Nájera`_ (1)
