Skip to content

legend needs logic to deal with new linestyle scaling by linewidth #5977

Closed

Description

@efiring

#5926 improves the linestyle dot and dash patterns, but with a wide line, legend does not show a long enough segment to show the pattern.

Activity

  1. added this to the milestone on Feb 8, 2016
  2. WeatherGod commented on Feb 8, 2016

    @WeatherGod
    Member

    A possible suggestion to solve this problem is to scale the width of the
    swath by the linewidth, kind of like maintaining an aspect ratio.

    On Mon, Feb 8, 2016 at 4:29 PM, Eric Firing notifications@github.com
    wrote:

    #5926 #5926 improves the
    linestyle dot and dash patterns, but with a wide line, legend does not show
    a long enough segment to show the pattern

    —
    Reply to this email directly or view it on GitHub
    #5977.

  3. efiring commented on May 23, 2016

    @efiring
    MemberAuthor

    This can be handled manually by the user by specifying the rcParams['legend.handlelength'] appropriately, so this is not urgent. Something like @WeatherGod's suggestion can be implemented later if we find that this would be a substantial improvement in convenience. If so, this can be reopened.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions