Skip to content

Add 'sticky' flag for x/y constrained panning/zooming. #4028

@jason-s

Description

@jason-s

There doesn't seem to be any way to constrain x- or y- axis when panning/zooming in IPython interactive (%matplotlib nbagg) mode. Is there? If not, I'd like to request this feature.

Also it is helpful to somehow to set a default constraint when plotting the figure. In time series plots with linked axes, for example, I generally just want to allow x-axis (really t-axis) zooming and panning, and I want to leave the y-axis limits untouched. I don't want the default behavior to allow zooming and panning to affect the y-axis, I want the user to have to select something to allow it if they really want.

(by the way %matplotlib nbagg is AWESOME!!!!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions