views:

124

answers:

3

Is there any way to turn off antialias for all text in a plot, especially the ticklabels?

A: 

Did you try playing with the font/text properties of matplotlibrc ? That would be the first thing to try, I think (see here for examples: http://matplotlib.sourceforge.net/users/customizing.html)

David Cournapeau
A: 

It seems this is not possible. Some classes such as Line2D have a "set_antialiased" method, but Text lacks this. I suggest you file a feature request on the Sourceforge tracker, and send an email to the matplotlib mailing list mentioning the request.

Jouni K. Seppänen
A: 

I believe the anti-aliasing of Text objects is up to the font engine being used. It seems the freetype2 fonts support this.

Mark