Browse Source

Fix recursion

pull/8/head
Florian Mounier 13 years ago
parent
commit
b5abcb77d7
  1. 2
      pygal/graph/base.py

2
pygal/graph/base.py

@ -37,9 +37,9 @@ class BaseGraph(object):
def __init__(self, config=None, **kwargs): def __init__(self, config=None, **kwargs):
"""Init the graph""" """Init the graph"""
self.horizontal = hasattr(self, 'horizontal') and self.horizontal
self.config = config or Config() self.config = config or Config()
self.config(**kwargs) self.config(**kwargs)
self.horizontal = getattr(self, 'horizontal', False)
self.svg = Svg(self) self.svg = Svg(self)
self.series = [] self.series = []
self._x_labels = None self._x_labels = None

Loading…
Cancel
Save