Hello, I use matplotlib to non-interactively convert a
> pile of numbers into a diagram for may web page. My
> problem: the resulting grid lines are not perfectly
> straight, they seem to be undecided which of two pixel
> rows they belong to. The lines (magnified and in ASCII
> art) look a bit like
> ******** ******** ****
> ******** ******** ****** ****
> How can I get straight and homogeneous lines?
Yes, that is annoying. I just made some changes to CVS to fix it. The
root of the problem is that Agg does subpixel rendering. I have some
hacks now to make it work right for grid lines, but a cleaner approach
would be to expose "use subpixel" to the GC, and allow the grid lines
to turn it off.
Checking in src/_backend_agg.cpp;
/cvsroot/matplotlib/matplotlib/src/_backend_agg.cpp,v <--
_backend_agg.cpp
new revision: 1.98; previous revision: 1.97
JDH