Issue
I have made my plots inline on my Ipython Notebook with "%matplotlib inline
."
Now, the plot appears. However, it is very small. Is there a way to make it appear larger using either notebook settings or plot settings?
Solution
Yes, play with figuresize
and dpi
like so (before you call your subplot):
fig=plt.figure(figsize=(12,8), dpi= 100, facecolor='w', edgecolor='k')
As @tacaswell and @Hagne pointed out, you can also change the defaults if it's not a one-off:
plt.rcParams['figure.figsize'] = [12, 8]
plt.rcParams['figure.dpi'] = 100 # 200 e.g. is really fine, but slower
Answered By - roadrunner66
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.