Browse Source

Compat

pull/290/head
Florian Mounier 9 years ago
parent
commit
71025671aa
  1. 2
      pygal/graph/dual.py

2
pygal/graph/dual.py

@ -56,7 +56,7 @@ class Dual(Graph):
# In case of dual, x labels must adapters and so majors too
self.x_labels_major = self.x_labels_major and list(
map(self._x_adapt, self.x_labels_major))
super()._compute_x_labels_major()
super(Dual, self)._compute_x_labels_major()
def _get_x_label(self, i):
"""Convenience function to get the x_label of a value index"""

Loading…
Cancel
Save