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

'AxesSubplot' object has no attribute 'hold' on nipype_preproc_spm_multimodal_faces example #313

Open
Hororohoruru opened this issue Nov 26, 2018 · 5 comments

Comments

@Hororohoruru
Copy link
Contributor

When trying to run the nipype_preproc_spm_multimodal_faces example, I get the following error:

Traceback (most recent call last):
  File "nipype_preproc_spm_multimodal_faces.py", line 51, in <module>
    segment=True, normalize=True)
  File "/home/juan/.local/lib/python3.7/site-packages/pypreprocess/nipype_preproc_spm_utils.py", line 1473, in do_subject_preproc
    subject_data.finalize_report(last_stage=last_stage)
  File "/home/juan/.local/lib/python3.7/site-packages/pypreprocess/subject_data.py", line 634, in finalize_report
    results_gallery=self.results_gallery)
  File "/home/juan/.local/lib/python3.7/site-packages/pypreprocess/reporting/preproc_reporter.py", line 737, in generate_tsdiffana_thumbnail
    axes = plot_tsdiffs(results, use_same_figure=False)
  File "/home/juan/.local/lib/python3.7/site-packages/pypreprocess/time_diff.py", line 233, in plot_tsdiffs
    ax.hold(True)
AttributeError: 'AxesSubplot' object has no attribute 'hold'
@Hororohoruru
Copy link
Contributor Author

@bthirion

@KamalakerDadi
Copy link
Contributor

Should be closed by this PR #311

@Hororohoruru Could you please tell us if you don't see an error when you adapt the patch in PR #311
Thanks

@Hororohoruru
Copy link
Contributor Author

Yes, that solves the issue.

Although after implementing those changes, I found another issue running the same example. I'll open a separated issue.

@Hororohoruru
Copy link
Contributor Author

Never mind, I saw it was already reported on issue #287

@thomasbazeille
Copy link

Can be closed thanks to #319

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants