Those Computer Modern fonts (specifically the Bakoma distribution of
them that matplotlib includes) use a custom character set mapping where
many of the characters are in completely arbitrary locations. For
regular text, matplotlib expects a regular Unicode font (particularly
to get the minus sign). Since cmr10 doesn't have a standard encoding,
it just won't work. You could get around this by overriding the default formatter to use a different symbol for the minus sign. See this example for an example of overriding the formatter: http://matplotlib.sourceforge.net/examples/pylab_examples/major_minor_demo1.html#pylab-examples-major-minor-demo1 Mike On 04/29/2010 03:33 PM, Tony S Yu wrote:
|
------------------------------------------------------------------------------
_______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users