Browse Source

Minor fix for empty logarithmic chart

pull/156/head
Florian Mounier 10 years ago
parent
commit
85819bf5fc
  1. 5
      CHANGELOG
  2. 2
      pygal/__init__.py
  3. 2
      pygal/graph/base.py

5
CHANGELOG

@ -1,5 +1,8 @@
V 1.5.1 - UNRELEASED
V 1.5.2 - UNRELEASED
V 1.5.1
Add `stack_from_top` option to reverse stack graph data order
Minor fix for empty logarithmic chart
V 1.5.0
Add per serie configuration

2
pygal/__init__.py

@ -21,7 +21,7 @@ Pygal - A python svg graph plotting library
"""
__version__ = '1.5.0'
__version__ = '1.5.1'
import sys
from pygal.config import Config
from pygal.ghost import Ghost, REAL_CHARTS

2
pygal/graph/base.py

@ -65,7 +65,7 @@ class BaseGraph(object):
[get(val)
for serie in self.series for val in serie.safe_values]))
self.zero = min(positive_values or 1,) or 1
self.zero = min(positive_values or (1,)) or 1
self._draw()
self.svg.pre_render()

Loading…
Cancel
Save