Open gebimble opened 4 years ago
Grouping functionality for bokeh.
bokeh
https://realpython.com/lessons/using-groupfilter-and-cdsview/
Christopher Bailey
source
# Create a ColumnDataSource west_cds = ColumnDataSource(west_top_2) # Create view for each team rockets_view = CDSView(source=west_cds, filters=[GroupFilter(column_name='teamAbbr', group='HOU')]) warriors_view = CDSView(source=west_cds, filters=[GroupFilter(column_name='teamAbbr', group='GS')])
TL;DR
Grouping functionality for
bokeh
.Article Link
https://realpython.com/lessons/using-groupfilter-and-cdsview/
Author
Christopher Bailey
Key Takeaways
source
into separate figuresUseful Code Snippets