hyperspyui._tools.zoompan module

Created on Sun Dec 07 02:03:23 2014

@author: Vidar Tonaas Fauske

class hyperspyui._tools.zoompan.ZoomPanTool(windows=None)

Bases: FigureTool

connect_windows(windows)

Connects the tool to the windows that are passed. This means that it connects to the appropriate MPL events of each window.

disconnect_windows(windows)
get_category()
get_icon()
get_name()
is_selectable()
make_cursor()

Initialize the cursor for this instance. Is called in constructor.

on_mousedown(event)
on_mousemove(event)
on_mouseup(event)
on_scroll(event)