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

Classes

class  __limit
 

Public Member Functions

def __init__
 
def onclick
 
def on_draw
 
- Public Member Functions inherited from Widgets.MatplotlibWidget.MatplotlibWidget
def __init__
 
def fork_toolbar_buttons
 
def remove_axes_ticks
 
def delete
 

Public Attributes

 x_units
 
 draw_legend
 
 elements
 
 depth_dir
 
 depth_files
 
 read_files
 
 rel_files
 
 hyb_files
 
 selection_colors
 
 icon_manager
 
 lim_a
 
 lim_b
 
 lim_icons
 
 lim_mode
 
 limButton
 
 modeButton
 
 viewButton
 
- Public Attributes inherited from Widgets.MatplotlibWidget.MatplotlibWidget
 main_frame
 
 dpi
 
 show_axis_ticks
 
 fig
 
 canvas
 
 axes
 
 mpl_toolbar
 

Detailed Description

Depth profile widget

Constructor & Destructor Documentation

def Widgets.MatplotlibDepthProfileWidget.MatplotlibDepthProfileWidget.__init__ (   self,
  parent,
  depth_dir,
  elements,
  x_units = 'nm',
  legend = True 
)
Inits depth profile widget.

Args:
    depth_dir: Directory where depth files are located.
    elements: List of Element objects.
    x_units: Unit to be used as x-axis.
    legend: Boolean of whether to show the legend.

Member Function Documentation

def Widgets.MatplotlibDepthProfileWidget.MatplotlibDepthProfileWidget.on_draw (   self)
Draws the depth profile graph
def Widgets.MatplotlibDepthProfileWidget.MatplotlibDepthProfileWidget.onclick (   self,
  event 
)
Handles clicks on the graph

Args:
    event: A click event on the graph

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