I am working on this code. My plots are being generated, but they are not getting saved in 1 pdf file.
import matplotlib.pyplot as plt from matplotlib.backend