From ae4b58cf8454d49d6674ccce0f4058af3e76b5f8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Wobst?= Date: Thu, 25 Mar 2004 16:30:34 +0000 Subject: [PATCH] move symbol before line git-svn-id: https://pyx.svn.sourceforge.net/svnroot/pyx/trunk/pyx@1537 069f4177-920e-0410-937b-c2a4a81bcd90 --- pyx/graph/style.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pyx/graph/style.py b/pyx/graph/style.py index a26416c0..38670c7f 100644 --- a/pyx/graph/style.py +++ b/pyx/graph/style.py @@ -443,18 +443,18 @@ class symbolline(_style): c.stroke(path.line_pt(x_pt, y_pt+0.5*height_pt, x_pt+width_pt, y_pt+0.5*height_pt), data.lineattrs) -class line(symbolline): - - def __init__(self, lineattrs=[]): - symbolline.__init__(self, symbolattrs=None, errorbarattrs=None, lineattrs=lineattrs) - - class symbol(symbolline): def __init__(self, **kwargs): symbolline.__init__(self, lineattrs=None, **kwargs) +class line(symbolline): + + def __init__(self, lineattrs=[]): + symbolline.__init__(self, symbolattrs=None, errorbarattrs=None, lineattrs=lineattrs) + + class text(symbol): defaulttextattrs = [textmodule.halign.center, textmodule.vshift.mathaxis] -- 2.11.4.GIT