Potku  1.0.0
Class Documentation
 All Classes Namespaces Functions
Widgets.MatplotlibEnergySpectrumWidget.MatplotlibEnergySpectrumWidget Class Reference
Inheritance diagram for Widgets.MatplotlibEnergySpectrumWidget.MatplotlibEnergySpectrumWidget:
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
 
 histed_files
 
 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.MatplotlibEnergySpectrumWidget.MatplotlibEnergySpectrumWidget.__init__ (   self,
  parent,
  histed_files,
  legend = True 
)
Inits Energy Spectrum widget.

Args:
    parent: EnergySpectrumWidget class object.
    histed_files: List of calculated energy spectrum files.
    legend: Boolean representing whether to draw legend or not.

Member Function Documentation

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

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