Skip to content

Commit

Permalink
Fix secondary y axis
Browse files Browse the repository at this point in the history
  • Loading branch information
rcarmo committed Jul 8, 2014
1 parent 750d76d commit 6b5cd2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygal/graph/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def _y_axis(self):
self.nodes['plot'], class_="axis y2")
for label, position in self._y_2nd_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
# it is needed, to have the same structure as primary axis
guides = self.svg.node(secondary_ax, class_='guides')
Expand Down

0 comments on commit 6b5cd2d

Please sign in to comment.