title: jupyter notebook resize plot to full cell width
body: <p>I'd like to plot a line graph (in python) and have the plot size be set to the full width of the cell of the jupyter or jupyterlab notebook.  (Also, if the cell width changes I'd like to be notified and have the opportunity to change the plot size)</p>
  
  <p>I am aware of <code>matplotlib.rcParams['figure.figsize'] = (x, y)</code> , but what do I set x and y to? Is the cell width discoverable ?</p>