Skip to content

Commit

Permalink
added gravity to plot save
Browse files Browse the repository at this point in the history
  • Loading branch information
elliesch committed Jul 28, 2017
1 parent 5593f71 commit 055044a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions TypeFinder.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def bracketed_plot(self, gravity_type): #This is for bracketed plots that are no
axes2[jj, 3].plot(self.wavelength, self.norm_flux, c='k')
axes2[jj, 3].axis('off')

save_name = 'new_types/' + self.file_name[12:-5] + r'_L{}'.format(self.type_number)
save_name = 'new_types/' + self.file_name[12:-5] + r'_L{}{}'.format(self.type_number, gravity_type)

def save_figure(event):
if event.key == 'w':
Expand Down Expand Up @@ -334,7 +334,7 @@ def first_bracketed_plot(self, gravity_type):
axes2[jj, 3].plot(self.wavelength, self.norm_flux, c='k')
axes2[jj, 3].axis('off')

save_name = 'new_types/' + self.file_name[12:-5] + r'_L{}'.format(self.type_number)
save_name = 'new_types/' + self.file_name[12:-5] + r'_L{}{}'.format(self.type_number, gravity_type)

def save_figure(event):
if event.key == 'w':
Expand Down Expand Up @@ -441,7 +441,7 @@ def last_bracketed_plot(self, gravity_type):
axes2[2, 3].plot(self.wavelength, self.norm_flux, c='k')
axes2[2, 3].axis('off')

save_name = 'new_types/' + self.file_name[12:-5] + r'_L{}'.format(self.type_number)
save_name = 'new_types/' + self.file_name[12:-5] + r'_L{}{}'.format(self.type_number, gravity_type)

def save_figure(event):
if event.key == 'w':
Expand Down

0 comments on commit 055044a

Please sign in to comment.