Closed s-weigand closed 3 years ago
Follow-up PR for #38, where the duplicate plots were removed but empty pages were still added. By using plt.close(fig) the old figures will be removed from plt.get_fignums(), so only the intended plots get added to the summary PDF.
plt.close(fig)
plt.get_fignums()
Follow-up PR for #38, where the duplicate plots were removed but empty pages were still added. By using
plt.close(fig)
the old figures will be removed fromplt.get_fignums()
, so only the intended plots get added to the summary PDF.