Overlay created by `Axes.indicate_inset_zoom` does not adjust when changing inset ranges · Issue #19768 · matplotlib/matplotlib · GitHub
Skip to content

Overlay created by Axes.indicate_inset_zoom does not adjust when changing inset ranges #19768

Description

@pulkin

Axes.indicate_inset_zoom just creates a static overlay which does not adjust when inset axes ranges are changed. Additional calls to Axes.indicate_inset_zoom will create new overlays. It is expected that the result of this

ax.indicate_inset_zoom(ax_inset)
ax_inset.set_xlim(new_lim)

and this

ax_inset.set_xlim(new_lim)
ax.indicate_inset_zoom(ax_inset)

are exactly the same.

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

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions