grapa.frontend.frames_main.GUIFrameDataPicker

class grapa.frontend.frames_main.GUIFrameDataPicker(master, application: Application, **kwargs)

Bases: object

Handles the data picker Contains a Frame, to be embedded in a wider application (.frame.pack()) Some methods will call methods of application

__init__(master, application: Application, **kwargs)

Methods

__init__(master, application, **kwargs)

create_textbox()

Create a new text annotation on Graph

event_mouse_motion(event)

identifies datapoint closest to mouse click

get_x_y_attrupd()

retrieve (and transform) data in x and y Entry.

save_point()

Save point

select_curve(*_args)

Called when user selects another Curve in data picker

update_crosshair([draw])

draw the canvas including crosshair, except if called from update_ui which handles draw() by itself

update_ui()

Updates the GUI elements

create_textbox()

Create a new text annotation on Graph

event_mouse_motion(event)

identifies datapoint closest to mouse click

get_x_y_attrupd()

retrieve (and transform) data in x and y Entry.

save_point()

Save point

select_curve(*_args)

Called when user selects another Curve in data picker

update_crosshair(draw=True)

draw the canvas including crosshair, except if called from update_ui which handles draw() by itself

update_ui()

Updates the GUI elements