mne-tools / mne-gsoc2018-3d

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

BUG: due to private mne 3d function #44

Open kingjr opened 4 years ago

kingjr commented 4 years ago

in ipysurfer/stc.py

L164 should now be:


    lim_cmap, ctrl_pts, _, transparent, _ = _limits_to_control_points(
        clim, stc.data.ravel(), colormap, transparent)
kingjr commented 4 years ago

else the plot_stc example does not run anymore

agramfort commented 4 years ago

@kingjr I don't know anybody using this code unfortunately. It has never been pushed towards a stable solution. If you can push in this direction that would be great.

kingjr commented 4 years ago

Just tried. The package works when you fix the line above, but the colormap is awful, so I'm falling back onto my code :/

In the long run, it's probably safer to invest finishing the matplotlib backend for notebook (currently their are many little bugs like the background color can't be changed, the colorbar cannot be removed etc)

agramfort commented 4 years ago

In the long run, it's probably safer to invest finishing the matplotlib backend for notebook (currently their are many little bugs like the background color can't be changed, the colorbar cannot be removed etc)

@GuillaumeFavellier may be able to help.