[Mne_analysis] question about epochs.plot(...)
Mads Jensen
mje.mads at gmail.com
Sun Sep 6 13:36:22 EDT 2020
External Email - Use Caution
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
> >
>
More information about the Mne_analysis
mailing list