outline attribute of colorbar not documented · Issue #19946 · matplotlib/matplotlib · GitHub
Skip to content

outline attribute of colorbar not documented #19946

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.)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions