From f4ce5c6e7efe3f2c5c1f0cbc7b5ddc933d2777be Mon Sep 17 00:00:00 2001 From: jaraco Date: Mon, 27 Oct 2008 00:59:37 +0000 Subject: [PATCH] Removed last reference to get_style() --- src/svg/charts/graph.css | 6 ++++++ src/svg/charts/graph.py | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/svg/charts/graph.css b/src/svg/charts/graph.css index 89e6cbc..2c54ff3 100644 --- a/src/svg/charts/graph.css +++ b/src/svg/charts/graph.css @@ -1,3 +1,9 @@ +/* +$Id$ + +Base styles for svg.charts.Graph +*/ + .svgBackground{ fill:#ffffff; } diff --git a/src/svg/charts/graph.py b/src/svg/charts/graph.py index 3f676fe..3d07c24 100644 --- a/src/svg/charts/graph.py +++ b/src/svg/charts/graph.py @@ -616,7 +616,7 @@ class Graph(object): self.root.appendChild(self._doc.createComment(' include default stylesheet if none specified ')) style = self._create_element('style', {'type': 'text/css'}) defs.appendChild(style) - style_data = self._doc.createCDATASection(self.get_style()) + style_data = self._doc.createCDATASection(self.get_stylesheet().cssText) style.appendChild(style_data) self.root.appendChild(self._doc.createComment('SVG Background')) @@ -653,6 +653,7 @@ class Graph(object): map(sheet.add, child_sheet) return sheet + #deprecated def get_style(self): return self.get_stylesheet().cssText