Hi everyone,
I have a scenario where I want to overlay a few glyphs onto different plots. The issue I’m running into is that these glyphs have their own HoverTool initialized in the following way:
p = figure()
annotations_source = ColumnDataSource(annotations_df.to_dict(‘list’))
annotated_tooltips = [(‘Date’, ‘@formatted_date’),
(‘App’, ‘@application’),
(‘Type’, ‘@type’),
(‘Description’, ‘@description’),
(‘Version’, ‘@version’)]
annotations_points_glyph = Circle(x=‘date’, y=‘max_y’, fill_color=‘grey’,
line_color=‘black’, size=10)
annotations_points_renderer = p.add_glyph(annotations_source, annotations_points_glyph)
annotated_hover_tool = HoverTool(renderers=[annotations_points_renderer], tooltips=annotated_tooltips)
I then import from this module into other plots and register the hover tool via p.add_tools. The issue is that the annotations glyphs are not rendering and I suspect it is because I’m using a separate figure object for them. Hope that makes sense!
