Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Bug]: Axes.indicate_inset(linewidth=...) doesn't affect connectors #23424

Copy link
Copy link
Closed
@QuLogic

Description

@QuLogic
Issue body actions

Bug summary

When using Axes.indicate_inset/Axes.indicate_inset_zoom, it may be necessary to increase the size of edges in order to be visible. It is possible to change edge colour with edgecolor=... which affects both the frame and the connectors. However, using linewidth=... only affects the frame.

Code for reproduction

import matplotlib.pyplot as plt

fig, axs = plt.subplots(2)
for ax in axs:
    ax.plot([1, 2, 3])

axs[1].set_xlim(0.5, 1.5)
axs[0].indicate_inset_zoom(axs[1], linewidth=5)

plt.show()

Actual outcome

Figure_1

Expected outcome

Figure_1

Additional information

No response

Operating system

No response

Matplotlib Version

37ccdca

Matplotlib Backend

No response

Python version

No response

Jupyter version

No response

Installation

git checkout

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good first issueOpen a pull request against these issues if there are no active ones!Open 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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.