From b387629cb8b9c7c6f274136aaa9d1cd82103a93f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Wobst?= Date: Mon, 17 Mar 2003 15:30:22 +0000 Subject: [PATCH] added round join in lineattrs git-svn-id: https://pyx.svn.sourceforge.net/svnroot/pyx/trunk/pyx@760 069f4177-920e-0410-937b-c2a4a81bcd90 --- manual/graph.tex | 4 ++-- pyx/graph.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/manual/graph.tex b/manual/graph.tex index 8e0ee6a6..95e06ca9 100644 --- a/manual/graph.tex +++ b/manual/graph.tex @@ -640,8 +640,8 @@ data name&description\\ The class \verb|line| is inherited from \verb|symbol| and is restricted to line drawing. The constructor takes only \verb|lineattrs| and its -default is set to \verb|changelinestyle()|. The other features of the -symbol style are turned off. +default is set to \verb|(changelinestyle(), canvas.linejoin.round)|. +The other features of the symbol style are turned off. \subsection{Rectangles} diff --git a/pyx/graph.py b/pyx/graph.py index 618157bc..0cc5204f 100644 --- a/pyx/graph.py +++ b/pyx/graph.py @@ -3384,7 +3384,7 @@ class line(symbol): def __init__(self, lineattrs=helper.nodefault): if lineattrs is helper.nodefault: - lineattrs = changelinestyle() + lineattrs = (changelinestyle(), canvas.linejoin.round) symbol.__init__(self, symbolattrs=None, errorbarattrs=None, lineattrs=lineattrs) -- 2.11.4.GIT