Browse Source

Removed last reference to get_style()

pull/8/head
jaraco 16 years ago
parent
commit
f4ce5c6e7e
  1. 6
      src/svg/charts/graph.css
  2. 3
      src/svg/charts/graph.py

6
src/svg/charts/graph.css

@ -1,3 +1,9 @@
/*
$Id$
Base styles for svg.charts.Graph
*/
.svgBackground{
fill:#ffffff;
}

3
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

Loading…
Cancel
Save