Browse Source

Merge branch 'master' of github.com:Kozea/pygal

pull/146/head
Florian Mounier 11 years ago
parent
commit
4d645be153
  1. 2
      pygal/graph/graph.py

2
pygal/graph/graph.py

@ -252,7 +252,7 @@ class Graph(BaseGraph):
self.nodes['plot'], class_="axis y2") self.nodes['plot'], class_="axis y2")
for label, position in self._y_2nd_labels: for label, position in self._y_2nd_labels:
major = position in self._y_major_labels major = position in self._y_major_labels
if not (self.show_minor_x_labels or major): if not (self.show_minor_y_labels or major):
continue continue
# it is needed, to have the same structure as primary axis # it is needed, to have the same structure as primary axis
guides = self.svg.node(secondary_ax, class_='guides') guides = self.svg.node(secondary_ax, class_='guides')

Loading…
Cancel
Save