'Given a mpl text instance create a Bokeh Text glyph.'

def draw_text(self, text, position, coordinates, style, text_type=None, mplobj=None):

    if (text_type in ['xlabel', 'ylabel', 'title']):
        return
    if (coordinates != 'data'):
        return
    (x, y) = position
    text = Text(x=x, y=y, text=[text])
    alignment_map = {'center': 'middle', 'top': 'top', 'bottom': 'bottom', 'baseline': 'bottom'}
    text.text_alpha = style['alpha']
    text.text_font_size = ('%dpx' % style['fontsize'])
    text.text_color = convert_color(style['color'])
    text.text_align = style['halign']
    text.text_baseline = alignment_map[style['valign']]
    text.angle = style['rotation']
    source = ColumnDataSource()
    r = self.plot.add_glyph(source, text)
    self.zorder[r._id] = style['zorder']
    self.handles[id(mplobj)] = r
