From ee9862f017cc1bebb8b432d5a88bdc3f8098d2ae Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Wobst?= Date: Fri, 9 Dec 2011 21:44:08 +0000 Subject: [PATCH] fix typos due to renaming to the final place git-svn-id: https://pyx.svn.sourceforge.net/svnroot/pyx/trunk/pyx@3237 069f4177-920e-0410-937b-c2a4a81bcd90 --- pyx/canvas.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyx/canvas.py b/pyx/canvas.py index 20b497af..0256e1b6 100644 --- a/pyx/canvas.py +++ b/pyx/canvas.py @@ -337,7 +337,7 @@ class canvas(_canvas): class layered_canvas(canvas): def __init__(self, **kwargs): - canvas.canvas.__init__(self, **kwargs) + canvas.__init__(self, **kwargs) self._layers = {} def layer(self, name): @@ -345,11 +345,11 @@ class layered_canvas(canvas): group, layer = name.split(".", 1) except ValueError: if not name in self._layers: - self._layers[name] = self.insert(Layer(texrunner=self.texrunner)) + self._layers[name] = self.insert(layered_canvas(texrunner=self.texrunner)) return self._layers[name] else: if not group in self._layers: - self._layers[group] = self.insert(Layer(texrunner=self.texrunner)) + self._layers[group] = self.insert(layered_canvas(texrunner=self.texrunner)) return self._layers[group].layer(layer) -- 2.11.4.GIT