|
From: klo uo <kl...@gm...> - 2013-06-29 22:43:01
|
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 <pmh...@gm...> 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
|