diff --git a/CHANGELOG b/CHANGELOG index 714de2d..babfb48 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +V 1.4.3 + Allow arbitrary number of x-labels on line plot (thanks nsmgr8) + V 1.4.2 Fix broken tests diff --git a/demo/moulinrouge/tests.py b/demo/moulinrouge/tests.py index 63f1ed5..7bf6b2b 100644 --- a/demo/moulinrouge/tests.py +++ b/demo/moulinrouge/tests.py @@ -393,4 +393,11 @@ def get_test_routes(app): fmap.title = 'French map' return fmap.render_response() + @app.route('/test/labels') + def test_labels(): + line = Line() + line.add('test1', range(100)) + line.x_labels = map(str, range(11)) + return line.render_response() + return filter(lambda x: x.startswith('test'), locals()) diff --git a/pygal/__init__.py b/pygal/__init__.py index 14127e8..3bcc6f1 100644 --- a/pygal/__init__.py +++ b/pygal/__init__.py @@ -21,7 +21,7 @@ Pygal - A python svg graph plotting library """ -__version__ = '1.4.2' +__version__ = '1.4.3' import sys from pygal.config import Config from pygal.ghost import Ghost, REAL_CHARTS