Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
paradoxxxzero committed Mar 11, 2014
1 parent 2b11e16 commit 90a3844
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
V 1.4.6 -- UNRELEASED
Add support for \n separated multiline titles (thanks sirlark)

V 1.4.5
Fix y_labels map iterator exhaustion in python 3

Expand Down
9 changes: 9 additions & 0 deletions demo/moulinrouge/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,15 @@ def test_long_title():
'1 12 123 1234 12345 123456 1234567 12345678 123456789 1234567890')
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')
def test_long_labels():
bar = Bar()
Expand Down
2 changes: 1 addition & 1 deletion pygal/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"""

__version__ = '1.4.5'
__version__ = '1.4.6'
import sys
from pygal.config import Config
from pygal.ghost import Ghost, REAL_CHARTS
Expand Down

0 comments on commit 90a3844

Please sign in to comment.