KnowledgeBoat Logo
|

Informatics Practices

Plot can be saved in a pdf format.

PyPlot

2 Likes

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").

Answered By

1 Like


Related Questions