Skip to content

`vlines='auto' in mne.viz.plot_compare_evokeds doesn't work #5972

Closed

Description

@SmallThings-coder

I got error
vlines must be a list or tuple, not <class 'str'>

`conditions = ['1', '2', '4']
evoked_dict = dict()
for condition in conditions:
evoked_dict[condition] = mne.read_evokeds(fname, baseline=(None, 0), proj=True, condition=condition)
print(evoked_dict)

colors = dict(Left="Crimson", Right="CornFlowerBlue")

pick = evoked_dict['1'].ch_names.index('MEG0242')

mne.viz.plot_compare_evokeds(evoked_dict, picks=pick, colors=colors, vlines='auto', split_legend=True)`

tmin= 0.0
tmax = 1.021

Activity

  1. larsoner commented on Feb 20, 2019

    @larsoner
    Member

    Fixed by #5969

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions