Browse Source

Allow 0 as max if there's a min.

pull/293/head
Florian Mounier 9 years ago
parent
commit
ff19591a34
  1. 2
      pygal/view.py

2
pygal/view.py

@ -112,7 +112,7 @@ class Box(object):
@ymax.setter @ymax.setter
def ymax(self, value): def ymax(self, value):
"""Y maximum setter""" """Y maximum setter"""
if value: if value or self.ymin:
self._ymax = value self._ymax = value
@property @property

Loading…
Cancel
Save