Informatics Practices
Answer
True
Reason — Matplotlib supports saving plots in various formats, including PDF. We can use the savefig() function and specify the file extension as .pdf to save the plot in PDF format. For example, to save the bar_plot as a PDF file, we use the following statement : plt.savefig("bar_plot.pdf").