Repository: bokeh/bokeh

Issue:
Title.title_align='center' not working
Here's some code to reproduce:

```
    source = ColumnDataSource(data=dict(x=[1, 2], y=[1, 2]))

    def make_plot(location, title_align, two_axes=True):
        plot = Plot(
            plot_width=400, plot_height=200,
            x_range=Range1d(0, 2), y_range=Range1d(0, 2),
            toolbar_location=None,
            title="Title %s - %s" % (location, title_align),
            title_location=location,
        )
        plot.title.title_align = title_align
        plot.add_glyph(source, Circle(x='x', y='y', radius=0.4))
        plot.add_layout(LinearAxis(), location)
        if two_axes:
            plot.add_layout(LinearAxis(), location)
        return plot

    layout = Column(
        make_plot('above', 'left', two_axes=False),  # This is a workaround top doesn't like two axes
        make_plot('right', 'right'),
        make_plot('below', 'center'),  # NOTE THIS HAS A BUG!!!
        make_plot('left', 'left')
    )
```

<img width="462" alt="screen shot 2016-05-30 at 12 52 06 pm" src="https://cloud.githubusercontent.com/assets/1796208/15657404/58f092d8-2665-11e6-97c2-a6a15a61bd59.png">

title_align='center' just isn't putting the title in the center.

ping @canavandl 



Discussion:
confirmed in [ae3c36]


Resolving patch:
diff --git a/bokeh/models/annotations.py b/bokeh/models/annotations.py
--- a/bokeh/models/annotations.py
+++ b/bokeh/models/annotations.py
@@ -544,7 +544,7 @@ class Title(TextAnnotation):
     The text value to render.
     """)
 
-    title_align = Enum(TextAlign, default='center', help="""
+    title_align = Enum(TextAlign, default='left', help="""
     Location to align the title text.
     """
     )


Test patch:
diff --git a/bokeh/models/tests/test_annotations.py b/bokeh/models/tests/test_annotations.py
--- a/bokeh/models/tests/test_annotations.py
+++ b/bokeh/models/tests/test_annotations.py
@@ -254,7 +254,7 @@ def test_Title():
     assert title.plot is None
     assert title.level == 'annotation'
     assert title.text is None
-    assert title.title_align == 'center'
+    assert title.title_align == 'left'
     assert title.title_padding == 0
     assert title.text_font == 'helvetica'
     assert title.text_font_size == {'value': '12pt'}
diff --git a/tests/integration/annotations/screenshots/base__test_title__test_the_default_titles_settings_and_ensure_outside_any_axes.png b/tests/integration/annotations/screenshots/base__test_title__test_the_default_titles_settings_and_ensure_outside_any_axes.png
Binary files a/tests/integration/annotations/screenshots/base__test_title__test_the_default_titles_settings_and_ensure_outside_any_axes.png and b/tests/integration/annotations/screenshots/base__test_title__test_the_default_titles_settings_and_ensure_outside_any_axes.png differ
diff --git a/tests/integration/annotations/test_title.py b/tests/integration/annotations/test_title.py
--- a/tests/integration/annotations/test_title.py
+++ b/tests/integration/annotations/test_title.py
@@ -36,7 +36,7 @@ def make_plot(location, title_align, two_axes=True):
     layout = Column(
         make_plot('above', 'left', two_axes=False),  # This is a workaround top doesn't like two axes
         make_plot('right', 'right'),
-        make_plot('below', 'center'),  # NOTE THIS HAS A BUG!!!
+        make_plot('below', 'center'),
         make_plot('left', 'left')
     )