saving . . . saved savefig has been deleted. savefig has been hidden .
savefig
Title
Question
what type of file supported by this function ?

Python-3.4.3 Saving-plots 02-03 min 0-10 sec 01-06-20, 3:22 p.m. HITESH_NINAMA

Answers:

According to the documentation the output formats depend on the type of Backend system being used for plotting. Common formats like JPEG and PNG are available usually.

See <a href="https://matplotlib.org/api/pyplot_api.html#matplotlib.pyplot.savefig" style="background-color: rgb(255, 255, 255);">https://matplotlib.org/api/pyplot_api.html#matplotlib.pyplot.savefig</a>You can check which formats are available using;

from matplotlib import pyplot

plot.gcf().canvas.get_supported_filetypes()
05-06-20, 2:17 p.m. ankitrj.iitb
ok
thanks
05-06-20, 3:21 p.m. HITESH_NINAMA

Login to add comment


Log-in to answer to this question.