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

Public Member Functions

def __init__
 
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

 draw_legend
 
 split
 
 y_scale
 
 selection_colors
 
- Public Attributes inherited from Widgets.MatplotlibWidget.MatplotlibWidget
 main_frame
 
 dpi
 
 show_axis_ticks
 
 fig
 
 canvas
 
 axes
 
 mpl_toolbar
 

Detailed Description

Energy spectrum widget

Constructor & Destructor Documentation

def Widgets.MatplotlibElementLossesWidget.MatplotlibElementLossesWidget.__init__ (   self,
  parent,
  split,
  legend = True,
  y_scale = 0 
)
Inits Energy Spectrum widget.

Args:
    parent: ElementLossesWidget class object.
    split: List of counted split counts for each element.
    legend: Boolean representing whether to draw legend or not.

Member Function Documentation

def Widgets.MatplotlibElementLossesWidget.MatplotlibElementLossesWidget.on_draw (   self)
Draw method for matplotlib.

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