8000 cbar.add_lines should allow manually adding lines, not just contour sets · Issue #12462 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
cbar.add_lines should allow manually adding lines, not just contour sets #12462
Closed
@jklymak

Description

@jklymak

Originally posted by @dstansby in #12461 (comment)

Huh, and here I am manually adding lines to the cbar axes with axhline! You learn a new bit of the API every day...

_Originally posted by @jklymak in #12461 (comment)

We could extend the API of cb.add_lines to check if the first argument is a list of levels instead of a ContourSet, but that entails a bunch of extra kwargs to pass down.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocumentationGood first issueOpen a pull request against these issues if there are no active ones!

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0