How does one save several plots into one PDF?

from matplotlib.backends.backend_pdf import PdfPages
pdfFile = PdfPages(“Box_Plots.pdf”)
.
.

for j in list:
fig = px.box(df[list_df_col[j]], x=df[‘year’] , y=list_df_col[j],points=“all”)

fig.show()

pdfFile.savefig(fig)   

pdfFile.close()

Python complains on Unhashable Fig