I am plotting a 24 column DataFrame, where one of the 24 columns is highlighted, while the remainder 23 are plotted with a smaller circle radius and a lighter alpha.
I am using this to plot each of the 23 non-highlighted samples
for loop_index in sample_list:
p.circle(x='index', y=loop_index, source=source, size=5, color='gray', alpha=0.3)
I already have some code that toggle visibility of a single glyph with callbacks, but what would be the strategy to make all 23 non highlighted circles disappear and keep only the point set of interest? Would be in the callback code? Is there a way to create a collection of glyphs and hide/show it?
Any help appreciated.