[Mne_analysis] adding figure to report problem
Eric Larson
larson.eric.d at gmail.com
Tue Apr 2 10:34:26 EDT 2019
External Email - Use Caution
I have seen a bug like this pop up before on OSX. Can you open an MNE
GitHub issue? We will probably need to iterate a bit and gather more system
information, etc.
Eric
On Tue, Apr 2, 2019 at 8:25 AM Elena Orekhova <orekhova.elena.v at gmail.com>
wrote:
> External Email - Use Caution
>
> Dear experts,
>
> I can plot the figure (although it looks a bit odd, see the screenshort):
> FIG3 = mne.viz.plot_alignment(raw.info, trans=trans, subject=subj,
> surfaces='head-dense',
> show_axes=True, dig=True, eeg=False, meg='sensors',
> coord_frame='meg'),
>
> but
> report.add_figs_to_section(FIG3, 'helmet', section='Coregistration',
> scale=None, image_format='png', comments=None, replace=True)
> gives me an error:
>
> ValueError: cannot reshape array of size 16 into shape (0,0,4)
> or sometimes:
> ValueError: cannot reshape array of size 12 into shape (0,0,3),
> not sure what it depends on.
>
> I am using MC OS Mojave (10.14.3),
> conda 4.5.12
> Python 3.7.1
>
> What could be the problem?
>
> --
> Best regards,
> Elena V. Orekhova
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20190402/8a0b2038/attachment.html
More information about the Mne_analysis
mailing list