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 10:48 AM, klo uo <klo...@gmail.com> wrote:

> 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.imgur.com/Qmb4e6C.png but can't find any pointers except
> turning anti-aliasing off for all plot lines, which is not what I
> want.
>
> Is this anyhow possible?
>
>
> ------------------------------------------------------------------------------
> 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
>
------------------------------------------------------------------------------
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