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?