I am having difficulty with setting up my legends a little
I cannot seem to assign ‘legend_group’ a list, rather it requires me to input a string. TO do this I need to put my legend into the dictionary fed as data to my ColumnDataSource.
I have a working solution to this by putting the legend inside ColumnDataSource as a list.
However, I am getting a warning that ColumnDataSource elements need to be of same length so I suspect I am not doing this properly.
How can I pass a list of values to serve as labels without using ColumnDataSource in this manner that generates this warning.
My data resembles “Fruit counts by year” modelled in the bokeh documentation linked below.