X Tutup
Skip to content

Is there a way to subclass the zoom() function from the NavigationToolbar backends and modify its mouse button definition?  #7485

@Pynewbie2016

Description

@Pynewbie2016

First of all, I have to say the predefined functions from matplotlib is wonderful. For historical reasons, however, I need to modify the mouse motion for the zoom() function to do the following,

  1. holding mouse button 1 & drag downwards -> zoom in
  2. holding mouse button 1 & drag upwards -> zoom out

and I have spent a week on this now without success

Any help will be greatly appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup