pygmi.mt.graphs#
Plot Data using Matplotlib.
Classes#
Graph Window - Main QT Dialog class for graphs. |
|
Matplotlib canvas widget for the actual plot. |
|
Plot points class. |
Module Contents#
- class pygmi.mt.graphs.GraphWindow(parent=None)#
Bases:
pygmi.misc.ContextModule
Graph Window - Main QT Dialog class for graphs.
- change_band()#
Combo box to choose band.
- class pygmi.mt.graphs.MyMplCanvas(parent=None)#
Bases:
matplotlib.backends.backend_qtagg.FigureCanvasQTAgg
Matplotlib canvas widget for the actual plot.
This routine will also allow the picking and movement of nodes of data.
- Parameters:
parent (parent, optional) – Reference to the parent routine. The default is None.
- button_release_callback(event)#
Mouse button release callback.
- Parameters:
event (event) – event variable.
- Return type:
None.
- motion_notify_callback(event)#
Move mouse callback.
- Parameters:
event (event) – event variable.
- Return type:
None.
- onpick(event)#
Picker event.
- Parameters:
event (event) – event variable.
- Returns:
True if successful, False otherwise.
- Return type:
bool
- update_line(data, ival, itype)#
Update the plot from point data.
- Parameters:
data (EDI data object) – EDI data.
ival (str) – dictionary key.
itype (str) – dictionary key.
- Return type:
None.
- class pygmi.mt.graphs.PlotPoints(parent=None)#
Bases:
GraphWindow
Plot points class.
- change_band()#
Combo to choose band.
- Return type:
None.
- run()#
Entry point into the routine, used to run context menu item.
- Return type:
None.