I am trying to put down legend in the plot by glyph method that takes ColumnDataSource and its columns (i.e., column/variable names) as input. I knew that it is deprecated for a combination of ColumnDataSource and sequence literals in the glyph method, so now my original code wasn’t working properly. I have pasted an example of my code.
f.circle(x=‘Admin’,y=‘Mean’, size = ‘N_size’, fill_alpha = .2, line_dash=[5,3], legend = ‘Average Score’, source=Total_SS)
Does someone has an idea how to add the legend back onto the plot but still I can keep my ColumnDataSource in the code?