Skip to content

Commit

Permalink
HbHgHd_fits: Set y-axis range the same for all subplots
Browse files Browse the repository at this point in the history
  • Loading branch information
astrochun committed Apr 30, 2021
1 parent 67c4c6b commit 5e107d5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Metallicity_Stack_Commons/plotting/balmer.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,9 @@ def HbHgHd_fits(fitspath: str, out_pdf_prefix: str ='HbHgHd_fits',
label='Delta Fit')
ax_arr[row][0].set_xlim(4050, 4150)

ax_arr[row][0].set_ylim(0, 1.6)

for p in [0, 1, 2]:
ax_arr[row][p].set_ylim(0, 1.6)

ax_arr[row][0].annotate(txt2, [0.95, 0.95], xycoords='axes fraction',
va='top', ha='right', fontsize='5')
ax_arr[row][0].plot(wave[Hd_fit_dict['idx_sig']], Hd_fit_dict['residual'],
Expand Down

0 comments on commit 5e107d5

Please sign in to comment.