Pages

â–¼

Wednesday, August 13, 2014

Set figure size after creating image

fig = plt.gcf() #Gets the current figure
fig.set_size_inches(10,10, forward=True) # changes size of figure. Forward must equal True to make the change

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.