[ENH]: contour kwarg for negative_linestyle · Issue #23028 · matplotlib/matplotlib · GitHub
Skip to content

[ENH]: contour kwarg for negative_linestyle #23028

Description

@jklymak

Problem

if you contour a negative quantity, it gets dashed lines. Leaving aside whether this is a good default or not, the only way to toggle this is via rcParams['contour.negative_linestyle']=False.

Proposed solution

I think this should be togglable via kwarg, though I appreciate that overlaps with linestyle and only is activated with monochrome contours.

(I actually think the default should be False, FWIW - this surprises me every time, and I make quite a few contour plots).

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

    Labels

    API: consistencyConsistency of the matplotlib API, including naming, behavior, defaults, …API: default changesChanges to default behavior

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions