[Mne_analysis] question about epochs.plot(...)
Qin Zhang
qin.jenny.zhang at gmail.com
Sun Sep 6 14:37:55 EDT 2020
External Email - Use Caution
(spudtrE) [qin at localhost ~]$ python -c "import mne; mne.sys_info()"
Platform: Linux-3.10.0-1127.8.2.el7.x86_64-x86_64-with-glibc2.10
Python: 3.8.5 (default, Aug 5 2020, 08:36:46) [GCC 7.3.0]
Executable: /home/qin/anaconda3/envs/spudtrE/bin/python
CPU: x86_64: 4 cores
Memory: 3.6 GB
mne: 0.20.7
numpy: 1.19.1 {blas=mkl_rt, lapack=mkl_rt}
scipy: 1.5.2
matplotlib: 3.3.1 {backend=Qt5Agg}
sklearn: 0.23.2
numba: 0.50.1
nibabel: 3.1.1
cupy: Not found
pandas: 1.1.1
dipy: 1.1.0
mayavi: 4.7.2 {qt_api=pyqt5, PyQt5=5.9.2}
pyvista: 0.25.3
vtk: 8.2.0
On Sun, Sep 6, 2020 at 10:36 AM Mads Jensen <mje.mads at gmail.com> wrote:
> Hi,
>
> Please keep the email list on the emails.
>
> When I try the notebook I do not get the error. Can you post the output
> of: python -c "import mne; mne.sys_info()"
>
> Mads
>
>
> On 06/09/2020 16.59, Qin Zhang wrote:
> > Hi Mads,
> > Thanks for your reply.
> > The error is:
> >
> > ValueError: The number of FixedLocator locations (2),
> > usually from a call to set_ticks, does not match the number of
> ticklabels (3)
> >
> > there is no error in older mne version.
> >
> > The attached is .ipynb showing the error message,
> >
> > Thanks,
> >
> > Qin
> >
> >
> > On Sun, Sep 6, 2020 at 5:49 AM Mads Jensen <mje.mads at gmail.com
> > <mailto:mje.mads at gmail.com>> wrote:
> >
> > Hi Jenny,
> >
> > When I run the code you posted, I do not get an error. Are you using
> > the
> > latest version of MNE-python and can you post what the error is?
> >
> > best,
> > Mads
> >
> > On 05/09/2020 02.51, Qin Zhang wrote:
> > > External Email - Use Caution
> > >
> > > Hello,
> > >
> > > I encountered a problem when using the latest version of
> > epochs.plot(...)
> > > in your sample:
> > >
> >
> https://mne.tools/stable/auto_examples/io/plot_objects_from_arrays.html#sphx-glr-auto-examples-io-plot-objects-from-arrays-py
> > > The following line works:
> > > epochs.plot(picks=picks, scalings='auto', show=True, block=True)
> > > but the following line doesn't work, there is error.
> > > epochs.plot(picks=picks, scalings='auto', show=True, block=True,
> > n_epochs=2)
> > >
> > > Thanks,
> > > Jenny
> > >
> > > _______________________________________________
> > > Mne_analysis mailing list
> > > Mne_analysis at nmr.mgh.harvard.edu
> > <mailto: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/20200906/461b4764/attachment.html
More information about the Mne_analysis
mailing list