Reputation:
I'm using matplotlib in spyder. Size of plot is not good enough. I can only see it in the console on the bottom right. Is there any way to make it large?
Upvotes: 1
Views: 70
Reputation: 3200
Spyder images are supposed to be adjustable based on your setup. You can do this manually through the gui. I am guessing that you are not setting your figure size which is one way to increase the size of your figure.
fig = plt.figure(figsize=(16,16)) #Larger the numbers, the larger the figure
Another thing to consider when saving your figure. Use a vectorized format like a pdf
and set your dpi
so that you can zoom without degrading quality. This will make the file larger of course but it helps make publication quality figures.
Upvotes: 1