From 1273c1bb2c7be955281dfb52e006ab9dcb736828 Mon Sep 17 00:00:00 2001 From: Hektor Suhr Date: Sat, 23 Jan 2016 09:56:13 -0500 Subject: [PATCH] Update tests.py --- demo/moulinrouge/tests.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/demo/moulinrouge/tests.py b/demo/moulinrouge/tests.py index 5add791..3bc6d0c 100644 --- a/demo/moulinrouge/tests.py +++ b/demo/moulinrouge/tests.py @@ -354,12 +354,12 @@ def get_test_routes(app): @app.route('/test/bar/position') def test_bar_print_values_position(): - bar = StackedBar(print_values=True, print_values_position='top', range=(0, 10), + bar = StackedBar(print_values=True, print_values_position='top', zero=2, style=styles['default']( value_font_family='googlefont:Raleway', value_font_size=46)) - bar.add('1', [1, 3, 3]) - bar.add('2', [4, 5, 6]) + bar.add('1', [1, -2, 3]) + bar.add('2', [4, -5, 6]) bar.x_labels = [2, 4, 6] bar.x_labels_major = [4] return bar.render_response()