Skip to content

Commit

Permalink
Merge pull request #24 from bmorris3/fix-issue-22
Browse files Browse the repository at this point in the history
Adding axis labels
  • Loading branch information
Brett M. Morris committed Jul 26, 2018
2 parents 2ded8d1 + 9cc84d8 commit c3abea1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions aesop/spectra.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,8 @@ def fit_order(self, spectral_order, polynomial_order, plots=False):
plt.plot(spectrum.wavelength,
np.polyval(fit_params,
spectrum.wavelength - mean_wavelength))
plt.xlabel('Wavelength [{0}]'.format(spectrum.wavelength_unit))
plt.ylabel('Flux')
plt.show()
return fit_params

Expand Down

0 comments on commit c3abea1

Please sign in to comment.