title: Custom fonts in Google Colaboratory matplotlib charts
body: <p>Using custom fonts in matplotlib locally involves storing the <code>.ttf</code>s in the <code>matplotlib/mpl-data/fonts/ttf/</code> folder, then calling <code>mpl.font_manager._rebuild()</code>, then setting <code>mpl.rcParams['font.sans-serif']</code>.</p>
  
  <p>Is there any way to do this in Google Colaboratory, where it doesn't seem that this <code>ttf</code> folder is accessible?</p>
  
  <p>For example, I'd like to use the <a href="https://fonts.google.com/specimen/Roboto?selection.family=Roboto" rel="noreferrer">Roboto font</a>. After installing, this would be invoked using <code>mpl.rcParams['font.sans-serif'] = 'Roboto'</code>.</p>