Skip to content

outline attribute of colorbar not documented #19946

@story645

Description

@story645

Was trying to change the color of the outline of my colorbar:
image

and wasn't clear in the docs how to do it, but found on stackoverflow that there's an outline attribute that is the collection of spines:

 self.outline = ax.spines['outline'] = _ColorbarSpine(ax)

around the colorbar (and is not the same spines as the axes containing the colorbar since I tried that and it didn't work.)

Metadata

Metadata

Assignees

No one assigned

    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