Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

10-isc: nilearn plotting error #6

Open
manojneuro opened this issue Jun 27, 2019 · 7 comments
Open

10-isc: nilearn plotting error #6

manojneuro opened this issue Jun 27, 2019 · 7 comments
Labels
bug Something isn't working

Comments

@manojneuro
Copy link

We get a plotting error when running 10-isc.

Steps to replicate:

  1. In the notebook set upper_limit_n_subjs = 5
  2. Execute cells.
  3. Error occurs in Section 2.3, in the cell before Exercise 3.
surf_map = plotting.plot_surf_stat_map(
    fsaverage.infl_left, texture, 
    hemi='left', view=view, 
    title= title_text, 
    threshold=threshold, cmap='RdYlBu_r', 
    colorbar=True,
    bg_map=fsaverage.sulc_left)
Error: NotImplementedError: It is not currently possible to manually set the aspect on 3D axes
@ltetrel
Copy link
Member

ltetrel commented Jun 27, 2019

What version of nilearn are you using on google collab ?

@ltetrel
Copy link
Member

ltetrel commented Jun 27, 2019

We are now using 0.5.2 version.
So it seems to be an issue with nilearn . A depreciationWarning coming after this release :
https://nilearn.github.io/whats_new.html#id42
@manojneuro Can you confirm that the notebooks are running on google collab with nilearn 0.5.2 ?

@ltetrel ltetrel added the bug Something isn't working label Jul 10, 2019
@pbellec
Copy link
Member

pbellec commented Aug 26, 2019

@manojneuro any update?

@manojneuro
Copy link
Author

@ltetrel on Colab the notebooks are running on 0.5.2. There seemed to have been an issue with this plotting function in nilearn in 0.5.1, that is fixed in 0.5.2. Could you double check if you have 0.5.2 installed?

@manojneuro
Copy link
Author

manojneuro commented Oct 30, 2019

@ltetrel An update on this issue. It seems to be a problem with matplotlib 3.1, see here: nipy/mindboggle#177

They recommend either waiting for the next nilearn release, or going back to an older version of matplotlib. I tested with matplotlib==3.0.3 and it works on Colab.

@ltetrel
Copy link
Member

ltetrel commented Oct 30, 2019

Interresting, maybe we should wait for the new nilearn release then

@manojneuro
Copy link
Author

I'm not sure when the release will be out, we can always upgrade once the release is out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants