title: How do I make sans serif superscript or subscript text in matplotlib?
body: <p>I want to use a subscript in an axis label in a matplotlib figure. Using LaTeX I would set it as <code>$N_i$</code>, which gives me the italic serif font. I know I can get non-italic mathfont with <code>\mathrm</code>. But I would like to get the text in the default matplotlib sans-serif font so it matches the rest of the text in the figure. Is there a way to subscript text without using latex?</p>