Skip to content

[ENH]: Set connector line properties directly from indicate_inset #24317

Closed

Description

@oscargus

Problem

According to https://matplotlib.org/stable/api/_as_gen/matplotlib.axes.Axes.indicate_inset.html#matplotlib.axes.Axes.indicate_inset
edgecolor, facecolor, alpha and zorder are set on both the rectangle can connector lines. However, it can be quite convenient to be able to set other line properties, such as linestyle and linewidth directly as well, which are now passed to the rectangle only.

Proposed solution

As it is not a good idea to change the behavior, I suggest that a connector_kw argument is added so that those can be passed directly.

Activity

  1. changed the title [-][ENH]: set connector line properties from directly from indicate_inset[/-] [+][ENH]: Set connector line properties directly from indicate_inset[/+] on Oct 31, 2022
  2. timhoffm commented on Oct 31, 2022

    @timhoffm
    Member

    Isn’t this issue #23424 / PR #24082 ?

  3. oscargus commented on Oct 31, 2022

    @oscargus
    MemberAuthor

    Correct... I did search but didn't find it...

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