savefig
Title
Question
what type of file supported by this function ?
Python-3.4.3 Saving-plots 02-03 min 0-10 sec
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()
Login to add comment