I am trying to overlay a scatter plot on a box-plot using bokeh. This works fine when the box-plot has a single x-axis:
plot = BoxPlot(source.data, source=source, values='y', label='x0', \
legend=False, outliers=False, color='lightgray', \
whisker_color='darkgray', palette=palette_colors)
# Add scatter overlay
plot.circle(source=source, x='x0', y='y', color='color', legend=False)
The scatter plot overlay no longer works when I add a second variable to group the x-axis values:
plot = BoxPlot(source.data, source=source, values='y', label=['x0', 'x1'], \
legend=False, outliers=False, color='lightgray', \
whisker_color='x0', palette=palette_colors)
# Add scatter overlay
plot.circle(source=source, x='x0', y='y', color='color', legend=False)
On panning to the left of the plot, the plotted scatter points can be seen as well, with correct y-axis values but an 'incorrect' unlabeled x-axis value.
Is there a way to overlay the scatter points over the box-plot so that their x-axis values match with the existing grouped x-axis values?