added thresholded colorbar

attemps to adress #231

Here is an example for threshold=5 of what it currently looks like:

![bildschirmfoto 2014-11-25 um 18 53 21](https://cloud.githubusercontent.com/assets/3907396/5191981/85c179e6-74f3-11e4-8def-b032366a3684.png)

Greetings from Berlin
I did not get it to take the self defined colormap.

Sent from my iPhone

> On 26 Nov 2014, at 09:37, Loïc Estève <notifications@github.com> wrote:
> 
> In nilearn/plotting/slicers.py:
> 
> > +        bounds = np.linspace(im.norm.vmin, im.norm.vmax, 100)
> > +        our_cmap = _cm.jet
> > +
> > +        if threshold != 1e-6:
> > +            # some colormap hacking
> > +            cmaplist = [our_cmap(i) for i in range(our_cmap.N)]
> > +            rng = float(im.norm.vmax + abs(im.norm.vmin))
> > +            start = (rng - 2 * threshold) / 2  # in data space
> > +            stop = rng - start
> > +            istart = int(our_cmap.N * start / rng)  # colormap space
> > +            istop = int(our_cmap.N * stop / rng)
> > +            for i in range(istart, istop):
> > +                cmaplist[i] = _cm.gray(i)
> > +            our_cmap = our_cmap.from_list('Custom cmap', cmaplist, our_cmap.N)
> > +
> > +        ColorbarBase(self._colorbar_ax, ticks=ticks, norm=im.norm,
> Just curious, what was wrong with the original figure.colorbar(im, cax=self._colorbar_ax, ticks=ticks) ?
> 
> —
> Reply to this email directly or view it on GitHub.
>