Skip to content

ENH: better automatic plot titles in plot_compare_evokeds #6165

Closed

Description

@drammock
plot_compare_evokeds(list_of_evokeds, picks='grad')

yields
RuntimeWarning: More than 6 channels, truncating title ...

Two suggested enhancements:

  1. if picks is one of the standard types (eeg, mag, grad...) then the title should reflect the channel type, rather than trying to list all channel names
  2. if specific channels are requested, the truncation should happen with an info message printed to the terminal, not a RuntimeWarning (admittedly subjective, but I think a warning seems too strong for a "we truncated your plot title" message)

Activity

  1. changed the title [-]remove RuntimeWarning in plot_compare_evokeds?[/-] [+]ENH: better automatic plot titles in plot_compare_evokeds[/+] on Apr 17, 2019
  2. drammock commented on Apr 17, 2019

    @drammock
    MemberAuthor

    I can take this on at the sprint; cc @jona-sassenhagen because of possible interaction with #4746

  3. jona-sassenhagen commented on Apr 17, 2019

    @jona-sassenhagen
    Contributor

    Agreed!

    I think it's fairly independent and I agree with your judgements though. But we will talk about all this at the sprint anyways.

  4. added a commit that references this issue on Apr 22, 2019
    095ccb1
  5. added a commit that references this issue on Apr 23, 2019
    fd1d227
  6. added a commit that references this issue on Apr 27, 2019
    4a0fa69
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions