Question
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?
How-To
Yes, play with figuresize like so (before you call your subplot):
- fig=plt.figure(figsize=(18, 16), dpi= 80, facecolor='w', edgecolor='k')
- matplotlib.rcParams['figure.figsize'] = [width, height]
- import matplotlib.pyplot as plt
- plt.rcParams['figure.figsize'] = [10, 5]
沒有留言:
張貼留言