Skip to content

Commit

Permalink
Modify color scheme in interactive wavelength calibration
Browse files Browse the repository at this point in the history
  • Loading branch information
nicocardiel committed Jan 17, 2018
1 parent 4210826 commit 47502c2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions numina/array/wavecalib/arccalibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -1816,7 +1816,7 @@ def refine_arccalibration(sp, poly_initial, wv_master, poldeg,
ax1.set_xlim([1 - 0.02 * naxis1, naxis1 * 1.02])
ax1.set_ylim([ymin, ymax])
if nlines_ok > 0:
ax1.plot(xdum, yp, 'go', label='identified')
ax1.plot(xdum, yp, 'mo', label='identified')
if sum(reject) > 0:
ax1.plot(xdum[reject], yp[reject], 'o',
color='tab:gray', label='ignored')
Expand Down Expand Up @@ -1877,10 +1877,10 @@ def refine_arccalibration(sp, poly_initial, wv_master, poldeg,
else:
ax2.set_ylabel('number of counts')
# mark peak location
ax2.plot(ixpeaks + 1, spectrum[ixpeaks], 'co',
label="initial location")
ax2.plot(fxpeaks + 1, spectrum[ixpeaks], 'go',
label="refined location")
# ax2.plot(ixpeaks + 1, spectrum[ixpeaks], 'co',
# label="initial location")
# ax2.plot(fxpeaks + 1, spectrum[ixpeaks], 'go',
# label="refined location")
ax2.plot((fxpeaks + 1)[lines_ok], spectrum[ixpeaks][lines_ok],
'mo', label="identified lines")
for i in range(len(ixpeaks)):
Expand Down

0 comments on commit 47502c2

Please sign in to comment.