69895/how-to-save-graph-using-matplotlib-library
Hi Guys,
I am analyzing one dataset with the help of matplotlib module. I am able to plot my graph. But how can I save this graph for future use?
Hi@akhtar,
You can find one function called savefig in matploylib.pypolt module. This function is used to save your plot for future use.
import matplotlib.pyplot as plt plt.savefig('fig.png')
Hope this will help you.
You could scale your data to the ...READ MORE
I have this code, and I want ...READ MORE
Hi, @Roshni, The following code is used to ...READ MORE
down voteacceptTheeThe problem is that you're iterating ...READ MORE
I think you should try: I used %matplotlib inline in ...READ MORE
Hi@lzzy, According to your error, there is a ...READ MORE
Hi@akhtar, It seems you don't have matplotlib library ...READ MORE
Install the older version of python, I also ...READ MORE
Hi@akhtar, I don't know it will help you ...READ MORE
Hi@akhtar, Yes, you can read your image in ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.