How to change the size of R plots in Jupyter? : <p>I am wondering how to configure Jupyter to plot a smaller figure within R kernel.</p>

<p>I have tried using <code>options(repr.plot.width = 1, repr.plot.height = 0.75, repr.plot.res = 300)</code>, but the result is kinda messy. It is changing the size of the plot R produced. Are there any ways I can directly configure the output graph size in Jupyter.</p>

<p>In other words, how can I change the size in the first figure to the size in the second figure, while not messing up the plot.</p>

<p><a href="https://i.stack.imgur.com/16gtc.png" rel="noreferrer"><img src="https://i.stack.imgur.com/16gtc.png" alt="enter image description here"></a>
<a href="https://i.stack.imgur.com/uvCNT.png" rel="noreferrer"><img src="https://i.stack.imgur.com/uvCNT.png" alt="enter image description here"></a></p>
