Skip to content

Add color= option to plot_brain #1

@fedemengo

Description

@fedemengo

Hello! Thank you so much for open-sourcing this!

Would you be interested in a small convenience option for plot_brain? My use case is plotting activation maps next to matching time series. It helps if the brain map can use the same color as the corresponding time-series line.

For example:

plot_brain(statmap, color="tab:blue", colorbar=False)

For signed maps, color= could generate a simple single-hue diverging colormap:

  negative -> dark blue
  zero     -> white/neutral
  positive -> bright blue

This would keep existing cmap= behavior unchanged, while making multi-panel figures easier to read. See fedemengo#1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions