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?
Next, to increase the size of the plot in the jupyter notebook use plt. rcParams[“figure. figsize”] method and set width and height of the plot.
Just drag the right bottom corner of the plot..
The default figure size (in inches) is controlled by
matplotlib.rcParams['figure.figsize'] = [width, height]
For example:
import matplotlib.pyplot as plt plt.rcParams['figure.figsize'] = [10, 5]
creates a figure with 10 (width) x 5 (height) inches
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With