Potku  1.0.0
Class Documentation
 All Classes Namespaces Functions
Widgets.MatplotlibTofeHistogramWidget.MatplotlibHistogramWidget Class Reference
Inheritance diagram for Widgets.MatplotlibTofeHistogramWidget.MatplotlibHistogramWidget:
Widgets.MatplotlibWidget.MatplotlibWidget

Public Member Functions

def __init__
 
def on_draw
 
def on_click
 
def graph_settings_dialog
 
def selection_settings_dialog
 
def load_selections
 
def save_cuts
 
def enable_element_selection
 
def enable_selection_select
 
def remove_selected
 
def remove_all_selections
 
def undo_point
 
def show_yourself
 
- Public Member Functions inherited from Widgets.MatplotlibWidget.MatplotlibWidget
def __init__
 
def fork_toolbar_buttons
 
def remove_axes_ticks
 
def delete
 

Public Attributes

 icon_manager
 
 invert_Y
 
 invert_X
 
 transpose_axes
 
 bins
 
 name_y_axis
 
 name_x_axis
 
 measurement
 
 color_scheme_selected
 
 elementSelectionButton
 
 elementSelectUndoButton
 
 elementSelectionSelectButton
 
 elementSelectDeleteButton
 
 elementSelectionDeleteButton
 
- Public Attributes inherited from Widgets.MatplotlibWidget.MatplotlibWidget
 main_frame
 
 dpi
 
 show_axis_ticks
 
 fig
 
 canvas
 
 axes
 
 mpl_toolbar
 

Static Public Attributes

dictionary color_scheme
 

Detailed Description

Matplotlib histogram widget, used to graph "bananas" (ToF-E).

Constructor & Destructor Documentation

def Widgets.MatplotlibTofeHistogramWidget.MatplotlibHistogramWidget.__init__ (   self,
  parent,
  measurement_data,
  icon_manager 
)
Inits histogram widget

Args:
    parent: TofeHistogramWidget class object.
    measurement_data: List of data points.
    icon_manager: IconManager class object.

Member Function Documentation

def Widgets.MatplotlibTofeHistogramWidget.MatplotlibHistogramWidget.enable_element_selection (   self)
Enable element selection.
def Widgets.MatplotlibTofeHistogramWidget.MatplotlibHistogramWidget.enable_selection_select (   self)
Enable selection selecting tool.
def Widgets.MatplotlibTofeHistogramWidget.MatplotlibHistogramWidget.graph_settings_dialog (   self)
Show graph settings dialog.
def Widgets.MatplotlibTofeHistogramWidget.MatplotlibHistogramWidget.load_selections (   self)
Show dialog to load selections.
def Widgets.MatplotlibTofeHistogramWidget.MatplotlibHistogramWidget.on_click (   self,
  event 
)
On click event above graph.
def Widgets.MatplotlibTofeHistogramWidget.MatplotlibHistogramWidget.on_draw (   self)
Draw method for matplotlib.
def Widgets.MatplotlibTofeHistogramWidget.MatplotlibHistogramWidget.remove_all_selections (   self)
Remove all selections.
def Widgets.MatplotlibTofeHistogramWidget.MatplotlibHistogramWidget.remove_selected (   self)
Remove selected selection.
def Widgets.MatplotlibTofeHistogramWidget.MatplotlibHistogramWidget.save_cuts (   self)
Save measurement cuts.
def Widgets.MatplotlibTofeHistogramWidget.MatplotlibHistogramWidget.selection_settings_dialog (   self)
Show selection settings dialog.
def Widgets.MatplotlibTofeHistogramWidget.MatplotlibHistogramWidget.show_yourself (   self,
  ui 
)
Show ToF-E histogram settings in ui.
def Widgets.MatplotlibTofeHistogramWidget.MatplotlibHistogramWidget.undo_point (   self)
Undo last point in open selection.

Member Data Documentation

dictionary Widgets.MatplotlibTofeHistogramWidget.MatplotlibHistogramWidget.color_scheme
static
Initial value:
1 = {"Default color":"jet",
2  "Greyscale":"Greys",
3  "Greyscale (inverted)":"gray"}

The documentation for this class was generated from the following file: