Skip to content

changing color of the channels in plot_timeseries (basic) #2185

Open
@kshtjkumar

Description

@kshtjkumar

hi, I am trying to change the colours of the time series plot, is it possible to give a particular colour to a particular channel id ?

recording_rhs.set_channel_groups(channel_ids=recording_rhs.get_channel_ids(), groups=['red', 'green', 'blue', 'black'])
w2 = sw.plot_timeseries({"Raw Data": recording_rhs},color_groups=True, time_range=(120, 420),clim = (-50, 50), order_channel_by_depth= False, show_channel_ids=True)#,backend='ipywidgets' )

something like this, but the channel colors are being very different !

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestwidgetsRelated to widgets module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions