Re: [Matplotlib-users] plot axis and legend without anti-aliased lines

2013-06-29 Thread klo uo
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. Bu

Re: [Matplotlib-users] plot axis and legend without anti-aliased lines

2013-06-29 Thread Paul Hobson
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 On Sat, Jun 29, 2013 at

[Matplotlib-users] plot axis and legend without anti-aliased lines

2013-06-29 Thread klo uo
This code: import matplotlib.pyplot as plt plt.plot([1,2,5,3,4], label='line') plt.legend() plt.show() shows this image: http://i.imgur.com/KMPywSp.png I want axis and legend box with 1px line, like this: http://i