Adjust the height of individual jupyter notebook cells : <p>The <code>custom.css</code> works very well for adjusting the width of a <code>jupyter</code> notebook (and the <code>font size</code> while we are at it..):</p>

<pre><code>.container { width:100% !important; height: 200px; }
.CodeMirror pre {font-family: Monaco; font-size: 9pt;}
</code></pre>

<p>The cell <strong><em>height</em></strong> is trickier however since we do not want <em>all</em> cells to be made overly tall.  </p>

<p>Here is an example of a cell "wanting" more vertical headroom:</p>

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

<p>Is there a per-cell approach to achieve this? There are actually two parts to this question:</p>

<ul>
<li><p>How to do this for <code>python</code> kernels (probably the easiest):</p></li>
<li><p>How to change the cell height for other kernels: specifically we are interested in <code>R</code> and <code>Spark</code></p></li>
</ul>
