Thanks Paul, that solved the problem.

    matplotlib.rcParams['axes.linewidth'] = 0.5
    matplotlib.rcParams['patch.linewidth'] = 0.5

is what I wanted and I'll put that in matplotlibrc.

Previously I thought that this is related to some anti-aliasing
setting that would affect all lines drawn. But as it is possible to
set this preference to custom plot elements, this is what I would
always prefer. Default setting looks too blurry for horizontal and
vertical lines.


Cheers

On Sat, Jun 29, 2013 at 11:49 PM, Paul Hobson <pmhob...@gmail.com> wrote:
> You need to thin out the default line widths in your matplotlibrc file.
>
> Something like:
> import matplotlib
> matplotlib.rcParams['axes.linewidth'] = 0.5
> matplotlib.rcParams['lines.linewidth'] = 0.5
>
> ...if you don't want to edit your matplotlibrc file.
>
> Hope that helps,
> -paul

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to