Skip to content

Change color of add_contour_overlay function #231

@ZaixuCui

Description

@ZaixuCui

Hi there,

I am trying to use function add_contour_overlay function to plot the contour of several ROIs. I wonder how to change the contour colour with a specific RGB, for example, 175 51 173. I am following the example https://pysurfer.github.io/auto_examples/plot_freesurfer_normalization.html#sphx-glr-auto-examples-plot-freesurfer-normalization-py.
I thought I should change the option parameter 'colormap', but I can only change colour with matplotlib colormap string. How to specify a colour with RGB=[175 51 173].

Thank you so much.

Best

Zaixu

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