Skip to content

Commit

Permalink
Changed graph units / titles for cross sections.
Browse files Browse the repository at this point in the history
  • Loading branch information
jkarns275 committed Aug 24, 2018
1 parent 125a8df commit 4a4b551
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/widgets/graphing/graphing_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,11 @@ def graph(self):
def graph_abs_coef(self, standard_parameters):
work = HapiWorker.echo(title=GraphingWidget.ABSORPTION_COEFFICIENT_STRING,
titlex="Wavenumber (cm<sup>-1</sup>)",
titley='Absorption Coefficient cm<sup>-1</sup>', **standard_parameters)
titley='Absorption Coefficient ', **standard_parameters)

if work['SourceTables'][0].endswith('.xsc'):
work['titley'] = 'molecules / cm<sup>2</sup>'
work['title'] = 'Absorption Cross-Section'

if self.use_existing_window.isChecked():
selected_window = self.selected_window.currentText()
Expand Down

0 comments on commit 4a4b551

Please sign in to comment.