Browse Source

Update changelog

pull/116/head
Florian Mounier 11 years ago
parent
commit
90a38440ca
  1. 3
      CHANGELOG
  2. 9
      demo/moulinrouge/tests.py
  3. 2
      pygal/__init__.py

3
CHANGELOG

@ -1,3 +1,6 @@
V 1.4.6 -- UNRELEASED
Add support for \n separated multiline titles (thanks sirlark)
V 1.4.5 V 1.4.5
Fix y_labels map iterator exhaustion in python 3 Fix y_labels map iterator exhaustion in python 3

9
demo/moulinrouge/tests.py

@ -92,6 +92,15 @@ def get_test_routes(app):
'1 12 123 1234 12345 123456 1234567 12345678 123456789 1234567890') '1 12 123 1234 12345 123456 1234567 12345678 123456789 1234567890')
return bar.render_response() return bar.render_response()
@app.route('/test/multiline_title')
def test_multiline_title():
bar = Bar()
bar.add('Looooooooooooooooooooooooooooooooooong', [2, None, 12])
bar.title = (
'First line \n Second line \n Third line'
)
return bar.render_response()
@app.route('/test/long_labels') @app.route('/test/long_labels')
def test_long_labels(): def test_long_labels():
bar = Bar() bar = Bar()

2
pygal/__init__.py

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

Loading…
Cancel
Save