mne-tools / mne-gsoc2018-3d

Sandbox for GSoC 2018 3D Viz
BSD 3-Clause "New" or "Revised" License
9 stars 4 forks source link

Add a colorbar to the plot_source_estimates #27

Closed OlehKSS closed 6 years ago

OlehKSS commented 6 years ago

Add a colorbar as in this example.

It will probably require an additional collaboration with ipyvolume.

OlehKSS commented 6 years ago

According to ipyvolume contributors, they do not have a colorbar like we want, bqplot is suggested to be used as a prototype for the colorbar feature.

larsoner commented 6 years ago

@OlehKSS how about actually using bqplot to create a colorbar for us (in a separate figure)? Eventually it would be awesome if we could modify this axis and have it be reflected in the brain activation levels by tying the bqplot-colorbar-axis events to ipyvolume-object modifications. WDYT?

This would be an awesome feature, by the way!

OlehKSS commented 6 years ago

It should be no problem to use bqplot as long as it can be smoothly integrated with other ipywidgets. Moreover, we can use bqplot even in the same figure we have built with ipyvolume, since ipyvolume exposes its containers for widgets, as a result it is possible to append new ipywidgets.

agramfort commented 6 years ago

cool !

OlehKSS commented 6 years ago

Fixed with pull request #25