Skip to content

Navigation Menu

Sign in
Appearance settings

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

Regression in get_navigate_mode() return value #18150

Copy link
Copy link
Closed
@timhoffm

Description

@timhoffm
Issue body actions

Bug report

#17135 simplified pan/zoom toggling.

The values of the _Mode enum are returned via get_navigate_mode() (https://matplotlib.org/devdocs/api/_as_gen/matplotlib.axes.Axes.get_navigate_mode.html).

This is a breaking API change. Before the returned values were 'PAN', 'ZOOM', or None (as is still documented). Now, these values are 'pan/zoom', 'zoom rect' and ''. Ping @anntzer I don't see if these values translate 1:1. Why is _Mode.PAN = 'pan/zoom'?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Release criticalFor bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.topic: toolbar

    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.