Skip to content

Commit

Permalink
plotting.balmer.HbHgHd_fits: Change pdf_pages variable name for PEP8 …
Browse files Browse the repository at this point in the history
…(iss #10)
  • Loading branch information
astrochun committed May 22, 2020
1 parent c87ecce commit 2568966
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Metallicity_Stack_Commons/plotting/balmer.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def HbHgHd_fits(stack_name, astropy_table_file, out_pdf):

ID = astropy_table['ID'].data

pdfpages = PdfPages(out_pdf)
pdf_pages = PdfPages(out_pdf)

for ii in range(len(ID)):

Expand Down Expand Up @@ -186,6 +186,6 @@ def HbHgHd_fits(stack_name, astropy_table_file, out_pdf):
ax_arr[row][2].set_xticklabels([])

if ii % n_rows == n_rows-1:
fig.savefig(pdfpages, format='pdf')
fig.savefig(pdf_pages, format='pdf')

pdfpages.close()
pdf_pages.close()

0 comments on commit 2568966

Please sign in to comment.