On Fri, May 3, 2013 at 6:17 AM, Michael Droettboom <md...@stsci.edu> wrote:

>  On 05/02/2013 03:16 PM, Paul Hobson wrote
>
>  I now see that this was more of TeX issue than an MPL configuration
> issue. Your help prompted me to find this solution (similar to yours):
>     mpl.rcParams['text.latex.preamble'] = [
>        r'\usepackage{siunitx}',   # i need upright \micro symbols, but you
> need...
>        r'\sisetup{detect-all}',   # ...this to force siunitx to actually
> use your fonts
>        r'\usepackage{helvet}',    # set the normal font here
>        r'\usepackage{sansmath}',  # load up the sansmath so that math ->
> helvet
>        r'\sansmath']  # <- tricky! -- gotta actually tell tex to use!
>
>
> Wow.  That's some serious TeX voodoo magic!  Want to work that into an
> example that we could include in the docs?
>
> Cheers,
> Mike
>

Gladly. I'll try to find time to cook up PR building off of the existing
example over the weekend.
-paul
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to